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
In GVIM, The file can be browsed using open / read / write dialog;
:browse {command}
{command} - open / read / write
open - Opens the file read - Appends the file write - SaveAs dialog
With Exuberant ctags, you can create tag files with file information:
ctags --extra=+f -R *
Then, open file from VIM with
:tag filename
You can also use <tab>
to autocomplete file name.
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.
There's also command-t which I find to be the best of the bunch (and I've tried them all). It's a minor hassle to install it but, once it's installed, it's a dream to use.
https://wincent.com/products/command-t/
I like the :FuzzyFinderTextMate (or Ctrl + F) on my setup. See http://weblog.jamisbuck.org/2008/10/10/coming-home-to-vim
You can search for a file in the current path by using **
:
:tabe **/header.h
Hit tab to see various completions if there is more than one match.