Hide certain files in NERDTree
10,468
Solution 1
You want to use the NERDTreeIgnore option, for example:
let NERDTreeIgnore=['\.o$', '\~$']
Do :help NERDTreeIgnore for more information.
Solution 2
Hoping this might be helpful as per New NerdTree Documentation.
// put this in your .vimrc
set wildignore+=*.pyc,*.o,*.obj,*.svn,*.swp,*.class,*.hg,*.DS_Store,*.min.*
// Nerdtree config for wildignore
let NERDTreeRespectWildIgnore=1
Author by
SCH
Updated on September 17, 2022Comments
-
SCH over 1 year
I would like to hide object files (*.o) in the Vim NERDTree plugin. Does the plugin support this feature, yet?
-
Alex Mckay over 3 yearsJust to add you can use
f
to show/hide ignored files