O'Reilly logo

Mastering Vim by Ruslan Osipov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Plugin spotlight – NERDTree

NERDTree is a handy plugin that emulates modern IDE behavior by displaying a file tree in a split buffer to the side of the screen. NERDTree is available from https://github.com/scrooloose/nerdtree (see Installing Plugins earlier in this chapter for installation instructions). 

Once installed, you can invoke NERDTree by typing the following:

:NERDTree

A list of files in a directory will show up:

Use h, j, k, and l or the arrow keys to navigate the file structure, and Enter or o to open the file. There are multiple useful shortcuts, and Shift ? brings up a handy cheat sheet.

A notable feature is bookmark support, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required