Vim Tips Wiki

Use this page to discuss script 1658 NERD tree: a tree explorer for navigating the filesystem

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

The NERD tree[]

The NERD tree allows you to explore the filesystem and open files and directories. It presents the filesystem in the form of a tree which you manipulate with the keyboard and/or mouse. It also allows you to perform simple filesystem operations.


Nice plugin!

It would be nice to "link" a window with the tree, as in Eclipse. So when you go in a window, the tree is automaticaly updated to the directory where the file is. --Daniel. December 30, 2011

I noticed a bug when using multiple intances of gvim with the recent versions of NERD tree. Indeed I'm using the Trinity vim plugin, and I recently upgraded NERD tree from version 2.13.0 to the latest (4.2.0). What happens when you launch another instance of gvim with Trinity is that the first one gets its pane of source explorer and NERT tree empty and "freeze" in the sense that it doesn't allow you to interact with gvim and the display is no more refreshed.

I would be really cool to fix this issue, cause NERD tree is really awesome! Thanks for the support, --Yann February 16, 2012

Can you please consider adding a feature to automatically open a child node if it is the _only_ node in the current node being viewed? eg. If I had the following node structure:

  • Node 1
    • Node 2
      • Node 3
        • Node 4

(ie. none of the nodes have any files, just a single child node)

In this case, if I open Node 1, NERDTree would automatically open all nodes down to Node 4. Thanks for considering my request! --Streetdaddy. June 28, 2012