NERDTree is my best vim plugin. To find a file or directory item, I move to my cursor to tree view, and use
/. But I still don't know how to find a file item which be in collapsed(closed) tree.
NERDTree does not support this? How do you do find a file?
The filename is not present in NERDTree's buffer so
If the file is in a directory that is part of Vim's
You can also do
will allow you to choose from a list of all files starting with
If Vim's working directory is the directory of the current buffer (that's not automatic, see
would bring a list of all JSON files in your project. Well, I don't know how your project is laid out but you get the picture.
Alternatively, you could use a plugin. CtrlP is a nice and powerful "fuzzy" file-naviation plugin that does one thing that I find super useful: when invoked, it looks up and up until it finds a VCS "marker" (a .git directory, for example) and uses it a starting point for your search. This makes opening files in the current project almost "fun".
You can use GPicker as CtrlP or CommandT alternative (Textmate feature clone) - it is written in C and is very fast, it integrates well with VIM or emacs. Instalation instructions on my blog post.