Installation method is very simple, first download the compressed file, after decompression will be the plugin directory under the Nerd_tree.vim copy ~/.vim/plugin and Doc directory nerd_tree.txt copy to ~/.vim/doc. ~ Represents the directory of the current user, There is no ~/.vim ~/.vim/plugin ~/.vim/doc in my environment and will be created later, if your version has it, that's better.
wget Http://www.vim.org/scripts/download_script.php?src_id=17123-O nerdtree.zip
unzip nerdtree.zip
mkdir- P ~/.vim/{plugin,doc}
CP plugin/nerd_tree.vim ~/.vim/plugin/
CP doc/nerd_tree.txt ~/.vim/doc/
After installation, the command line input vim, open vim, in vim input: Nerdtree, you can see the effect of nerdtree.
Shortcut key Configuration method:
Add the following in the ~/.VIMRC file, my centos6.6 still does not have this ~/.VIMRC, it doesn't matter, create a, direct vim ~/.VIMRC then add
"Set Nerdtree
map <F3>:nerdtreemirror<cr>
map <F3>:nerdtreetoggle<cr>
Press F3 to show or hide the Nerdtree area.