在Emacs中快速找到文件的方法? [英] A quick way to do find-file in Emacs?

查看:181
本文介绍了在Emacs中快速找到文件的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我在Aquamacs或Emacs中使用find-file时,它会自动显示以前的目录,例如〜/ Work / abc / cdf。但是,如果我想从〜目录打开一些东西,我必须按所有方式将所有方式按下第一个字符。有没有任何快速的方法来替换所有的字符串只需一个或两个键?

Every time I use find-file in Aquamacs or Emacs, it auto shows the previous directory, for example ~/Work/abc/cdf. However, if I want to open something from the ~ directory, I have to press Delete all the ways down to the first character. Is there any quick way to replace all the string with just one or two keys?

提前谢谢。

推荐答案

是的,仍然在迷你缓冲区中按Ctrl-A进入文件名路径的开头,Ctrl-K将其删除到行尾,现在您的文件路径为空,您只需输入〜

Yes, while still in the mini buffer press Ctrl-A to go to the start of the file name path, and Ctrl-K to delete it to the end of the line, now your file path is empty and you can just type "~"

这篇关于在Emacs中快速找到文件的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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