tags:

views:

37

answers:

1

How do I open a file specified in vimrc, with a key combination?

+2  A: 

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.

Al