JACK M JACK M - 2 months ago 24x
Linux Question

Unknown function: vundle#begin

I had old vundle installed. Instead of using

git pull
to update vundle, I removed old vundle from
and installed it following Quick Start section in the Github page of vundle.

Maybe I broke something when I installed new vundle. I get this:

jack@Jack-PC ~ $ vim .vimrc
Error detected while processing /home/jack/.vimrc:
line 6:
E117: Unknown function: vundle#begin
line 15:
E117: Unknown function: vundle#end
Press ENTER or type command to continue

I followed the instructions on the Github page exactly.

" .vimrc
set nocompatible
filetype off

" Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"" Vundle Plugins List
"Plugin 'gmarik/Vundle.vim'
"Plugin 'php.vim'
"Plugin 'neocomplcache'
"Plugin 'rails.vim'
"Plugin 'bling/vim-airline'
call vundle#end()
filetype plugin indent on


maybe the rtp location is wrong,you can type

:echo &rtp  

in Vim to see whether the location of ~ stand for is correct.

you can replace

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


set rtp+=/home/[YourUserName]/.vim/bundle/Vundle.vim   //do not use ~