emacs ido mode

Using IDO

To switch between buffers, press “C-x b”, then:

  • type some characters appearing in the buffer name, RET to visit the buffer in the front the list.
  • 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) or C-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) or C-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)

你可能感兴趣的:(emacs)