From the project
Vim file exploration tips
Find filename patterns
Using Vim's built-in file explorer, it's possible to find specific filenames by pattern. For example:
# :Ex is short for :Explore # search all subdirectories :Ex */Makefile :Ex */*.c # search recursively :Ex **/Makefile :Ex **/*.c :Ex **/*tpl*
This will take you straight to the first match. If you want the next match after that:
<Shift-DownArrow>
And back:
<Shift-UpArrow>
Bookmarking locations in the filesystem
When I use sshfs to mount a development VM's filesystem I sometimes find it tedious to type in the same long sub-directory paths over and over again. I've been setting up symbolic links to make my life somewhat easier but that gets tedious quickly too.
So I searched Vim's documentation a bit and it turns out that Vim's file explorer allows you to bookmark locations in the filesystem like this:
{cnt}mb # make bookmark
{cnt}gb # goto bookmark
q # list bookmarks
For example:
1mb # set the first bookmark 1gb # go to the first bookmark
Quite handy.
It all sounds very interesting and I'd love to hear more about it. I'll definately have to have a bit more of a look and play with Vim and see if I can get my head around it.