Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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....

like image 864
Tg. Avatar asked Oct 29 '10 10:10

Tg.


1 Answers

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

like image 64
kjfletch Avatar answered Sep 28 '22 12:09

kjfletch