VIM:不是编辑器命令:MiniBufExplorer

时间:2012-01-21 14:35:02

标签: vim pathogen minibufexplorer

我正在使用病原体,我复制了minibufexplorer插件:

wget -O ~/.vim/bundle/minibufexpl.vim https://raw.github.com/fholgado/minibufexpl.vim/master/plugin/minibufexpl.vim

在vim中,当我尝试:MiniBufExplorer时,我收到错误:

E492: Not an editor command: MiniBufExplorer
操作系统:CentOS
Vim 7.3

我错过了什么吗?

1 个答案:

答案 0 :(得分:4)

该文件应放在.vim/bundle/plugin目录中,而不是直接放在bundle下。

修复它:

mkdir -p ~/.vim/bundle/plugin
mv ~/.vim/bundle/minibufexpl.vim ~/.vim/bundle/plugin
相关问题