One installation MethodOfficial web site: The NERD tree:a Tree Explorer plugin for navigating the filesystem download Nerd_tree.zip (but I am not open on this side of the official website, so go to csdn a copy nerdtre E.zip) Unzip Nerd_tree.zip mkdir-p ~/.vim/plugin # If there is no plugin directory, create a MV Plugin/nerd_tree.vim ~/.vim/plugin # will nerd_t Ree.vim move near to open vim, input: Nerdtree saw the
two common settings
Nerdtree open need to enter: Nerdtree, shut down when press Q can. You can also add a shortcut key to open vim ~/.VIMRC join this trip
Nnoremap <silent> <F5>:nerdtree<cr>
This will automatically expand the directory tree by pressing F5
Three I think the most commonly used shortcut keys
CTRL + W + W cursor automatically switch to left right window
O
T opens the selected file/bookmark in the new tab and jumps to the new tab to open the selected file/bookmark in the New tab, but does not jump to the new tab
P jumps to the root node
p jumps to the parent node.
Q Close Nerdtree window
More comprehensive shortcut keys please refer to: http://yang3wei.github.io/blog/2013/01/29/nerdtree-kuai-jie-jian-ji-lu/ four effect chart