Emacs ido-mode and creating new files in directories, it keeps changing the directory while I'm typing

后端 未结 3 494
一向
一向 2021-02-01 02:06

When using ido-mode in emacs, it tends to get in my way when I\'m trying to create a new file inside a directory, using: C-x C-f ( start typing a new filen

3条回答
  •  长发绾君心
    2021-02-01 02:47

    You can disable the merging (the "looking in other directories" in ido vulgo) with

    (setq ido-auto-merge-work-directories-length -1)
    

    but you can also undo the merge with C-z in ido.

提交回复
热议问题