Shortcut to open file in Vim

keyboard shortcutsvim

I want to open a file in Vim like in Eclipse using Ctrl + Shift + R, or via the Ctrl + N option of autofill. Invoke a keyboard shortcut, type the file name/pattern, and choose from all the matching files names.

I know opening it normally like:

:tabe <filepath>
:new <filepath>
:edit <filepath>

The problem here is that I have to specify the whole file path in these cases.

Best Answer

What I normally do is e . (e-space-dot) which gives me a browsable current directory - then I can / - search for name fragments, just like finding a word in a text file. I find that generally good enough, simple and quick.