参考这里:https://github.com/tpope/vim-pathogen
按照pathogen的描述:
Manage your 'runtimepath'
with ease. In practical terms, pathogen.vim makes it super easy to install plugins and runtime files in their own private directories.
然后我们来安装nerdtree,安装nerdtree可以参考这里:https://github.com/scrooloose/nerdtree
只需两行:
cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdtree.git
果然super easy。
最后让我们来看下安装完之后的样子,只需要在vim中输入:NERDTree即可调出
最后,我只想说,nerdtree不nerd。