How do I change drive letter in ido mode (Emacs)?

2019-03-23 15:16发布

I'm using Emacs on windows. My default folder is c:/home, but I want to edit my file in d:/ how to do it in ido mode ? I tried // but that put me in c:/.

Currently, I use C-f (change back to normal find file mode), but that defeat the purpose of using ido mode in first place....

1条回答
一纸荒年 Trace。
2楼-- · 2019-03-23 15:47

As stated in a comment you just type "d:/" in the minibuffer while in ido-find-file. You don't need to be at the start of the string, it's intelligent enough to know what you're trying to do.

C-x C-f d:/ MyFile.txt

will point you at the file D:/MyFile.txt

查看更多
登录 后发表回答