vundle#rc()函数调用错误

时间:2013-07-22 15:00:48

标签: vim vundle

您好我正在尝试安装一些插件并使用vundle作为我的插件管理器。

当我打开gvim时,这是我得到的错误

Error detected while processing /home/user/.vimrc:
line    9:
E117: Unknown function: vundle#rc
line   12:
E492: Not an editor command: Bundle 'gmarik/vundle'

这是我.vimrc文件顶部的片段

set nocompatible
filetype off

set rtp+=~/.vim/bundle/vundel/
call vundle#rc()

"Required Bundel Statement 
Bundle 'gmarik/vundle'


"User Installed Bundles
Bundle 'neocomplcache/neocomplcache.vim'
Bunlde 'perlomni/perlomni.vim'


filetype plugin indent on
filetype on
syntax on

我根据git hub安装了它,并根据随它下载的阅读我。

我无法访问超级用户帐户,因此尝试卸载并重新安装vim将无法正常工作。

此外,我尝试安装病原体,这对于一些捆绑包起作用但不适用于perlomni.vim,因为它是一个ftplugin并且病原体没有正确附加捆绑,并且在研究后我看到大多数人说vundle比病原体好。< / p>

有人可以帮助我让我的捆绑包正常工作吗?

我正在尝试使用从git存储库下载的bundle或存储在共享根目录中的bundle。

由于

1 个答案:

答案 0 :(得分:4)

您在set rtp

中拼错了vundle
set rtp+=~/.vim/bundle/vundel/

应该是

set rtp+=~/.vim/bundle/vundle/