简体   繁体   English

Vim移至vimrc中确定的路径文件

[英]Vim travel to pathfile determined in vimrc

如何使用组合键打开在vimrc中指定的文件?

I'm not exactly clear what you mean, but if you just want a key combination to open a file specified in vimrc, you could do something like this: 我不清楚您的意思是什么,但是如果您只想通过组合键打开在vimrc中指定的文件,则可以执行以下操作:

:nmap ,e :e /path/to/my/file.txt<CR>

Pressing ,e will then open your requested file. ,e然后将打开您请求的文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM