如何在 ido 模式 (Emacs) 下更改驱动器号?

发布于 2024-09-29 22:09:09 字数 219 浏览 0 评论 0原文

我在 Windows 上使用 Emacs。我的默认文件夹是 c:/home,但我想在 d:/ 中编辑我的文件,如何在 ido 模式下进行操作?我尝试了 // 但这让我进入了 c:/

目前,我使用 Cf (更改回正常查找文件模式),但这首先违背了使用 ido 模式的目的......

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烏雲後面有陽光 2024-10-06 22:09:09

正如评论中所述,您只需在 ido-find-file 中的迷你缓冲区中输入“d:/”即可。您不需要位于字符串的开头,它足够智能,知道您要做什么。

Cx Cf d:/ MyFile.txt

会将您指向文件 D:/MyFile.txt

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文