Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to filter out files by extension in NERDTree?

Tags:

vim

nerdtree

People also ask

How do I delete files on NERDTree?

Press m to bring up the NERDTree Filesystem Menu. This menu allows you to create, rename, and delete files and directories.

Is NERDTree a buffer?

This is a NERDTree plugin that highlights all visible nodes that are open in Vim. It also maps a key w to close (wipeout) the buffer associated with the current node.


You want the NERDTreeIgnore option. For example, in your .vimrc:

let NERDTreeIgnore = ['\.pyc$']

Where NERDTreeIgnore is an array of regular expressions that match the files you want to exclude.