To switch between buffers, press “C-x b”, then:
- use C-s (next) or C-r (previous)to move through the list.
- [Tab] display possible completion in a buffer (or visit the buffer if there is only one possible completion).
- use C-f to fall back to find file (without ido-mode) orC-b to fall back to switch to buffer (without ido-mode).
To find a file, press “C-x C-f”.
- type some characters appearing in the file name, RET to choose the file or directory in the front of the list.
- C-s (next) orC-r (previous) to move through the list.
- [Tab] - display possible completion in a buffer (or open the file or go down the directory if there is only one possible completion).
- RET - type to go down inside the directory in front of the list.
- [backspace] - go up to the parent directory.
- // - go to the root directory.
- ~/ - go to the home directory.
- C-f - to go back temporarily to the normal find-file.
- C-d - enter Dired for this directory (used to be C-x C-d in older versions)
- C-j- create a new file named with the text you entered (note: this is needed if the text you entered matches an existing file, because RET would open the existing one)
To restrict the list after a first filtering:
- type some characters appearing in the buffer/file name(say .cpp)
- type C-SPC (C-@)【一般C-SPC用于了输入法切换,此处使用C-@】
- continue as normal with a list containing only the filtered names
Recently visited directories:
- type M-p and M-n to change to previous/next directories from the history
- M-s to search for a file matching your input
- M-k to remove the current directory from the history
- directories are added to the history by navigating inside them via RET
The documentation for these keys is available via
- M-x describe-function RET ido-find-file RET
- C-h f ido-find-file RET