病原体不加载nerdtree

3 vim loading nerdtree

我在.vim/autoload中有病原体,我的.vim/bundles目录中有nerdtree.我也有

filetype off
call pathogen#helptags()
call pathogen#runtime_append_all_bundles()
filetype plugin indent on
Run Code Online (Sandbox Code Playgroud)

在我的.vimrc文件中

无论出于何种原因,当我运行vim时,NERDTree不会运行.

有什么建议

Ric*_*ich 8

NERDTree真的在.vim/bundles吗?它应该在.vim/bundle.

另外请注意,你应该把call pathogen#helptags()线call pathogen#runtime_append_all_bundles()线,否则将无法正确生成标记.我不确定为什么有这么多关于病原体的博客相反.