Curtis Spencer wrote:
Another little tip. If you happen to be on OS X, if you use
Quicksilver, you can add a directory you work in frequently to one of
the catalogs, then use the quicksilver shortcut outside of VIM to
quickly open the file. Quicksilver's search seems to be little more
robust in that it will narrow the list down quickly, even if you know
characters from the middle of the filename and not just the beginning.
This would be a nice feature for vim as well.
The latest netrw, v92, has a feature that touches upon this:
:Explore **/filepat
where filepat can be things like ca*.c, for example. The cursor is
placed on the first file that
matches the pattern. If its the file you want, just hit <cr>. If not,
hit <shift-down> to go to the
next matching file. The ** means that it also will search subdirectories.
There are variants:
:Explore */pattern
will search for files containing the pattern in the current directory.
:Explore **//pattern
will search for files containing the pattern in the current directory
and subdirectories.
Regards,
Chip Campbell