如何在ido模式(Emacs)中更改驱动器盘符? [英] How do I change drive letter in ido mode (Emacs)?

查看:171
本文介绍了如何在ido模式(Emacs)中更改驱动器盘符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows上使用Emacs。我的默认文件夹是 c:/ home ,但是我想在 d:/ 中编辑我的文件在ido模式?我试过 // ,但是把我放在 c:/ 中。



目前,我使用 Cf (改回正常的查找文件模式),但是首先失败了使用ido模式的目的。 ...

解决方案

正如在评论中所述,只需在minibuffer中键入d:/,而在ido-find-文件。你不需要在字符串的开头,它是足够聪明的知道你想做什么。



Cx Cf d:/ MyFile.txt



将指向文件 D:/MyFile.txt


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

解决方案

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

这篇关于如何在ido模式(Emacs)中更改驱动器盘符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆