NERDTree plugin for Vim
NERDTree plugin for Vim

If you miss the Solution Explorer in Visual Studio or Eclipse, then you must try the NERDTree plugin for Vim.

  • Installation is easy. I like to clone the code from here and install it using Pathogen.

  • To use NERDTree, open Vim and type :NERDTree. The NERDTree window shows all the files and directories under the current directory.

  • To open any of the files or directories shown in the NERDTree window, navigate to it using jk and press Enter. The file is opened in a window to the right.

  • To switch between the NERDTree window and the code window, I like to use Ctrl-ww.

  • To make a directory in the NERDTree window as the root, place cursor on it and press C.

  • To make hidden files and directories visible, press I.

Tried with: Vim 7.4 and Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s