Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/vim/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
VIM:不是编辑器命令:MiniBufExplorer_Vim_Pathogen_Minibufexplorer - Fatal编程技术网

VIM:不是编辑器命令:MiniBufExplorer

VIM:不是编辑器命令:MiniBufExplorer,vim,pathogen,minibufexplorer,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 OS:CentOS Vim 7.3 我遗

我使用的是病原体,我复制了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
OS:CentOS
Vim 7.3


我遗漏了什么吗?

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

要解决此问题,请执行以下操作:

mkdir -p ~/.vim/bundle/plugin
mv ~/.vim/bundle/minibufexpl.vim ~/.vim/bundle/plugin

我的回答对你有帮助吗?你的问题解决了吗?