简体   繁体   中英

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:

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

Pressing ,e will then open your requested file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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