ido-mode使用

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




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值