I would like to hide object files (*.o) in the Vim NERDTree plugin. Does the plugin support this feature, yet?


You want to use the NERDTreeIgnore option, for example: let NERDTreeIgnore=['\.o$', '\~$']

Do :help NERDTreeIgnore for more information.


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.