开发者

Vim travel to pathfile determined in vimrc

开发者 https://www.devze.com 2023-01-15 17:18 出处:网络
How do I open a file specified开发者_如何学C in vimrc, with a key combination?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

How do I open a file specified开发者_如何学C in vimrc, with a key combination?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号