2

I install Vundle by the step of its github homepage. I have installed the git, curl and clone the vundle to my directory.

While I encountered problems as follows:

Error detected while processing C:\Program Files\Vim\_vimrc:
line   21:
E518: Unknown option: $VIM/vimfiles/bundle/vundle/
line   22:
E117: Unknown function: vundle#rc
line   23:
E492: Not an editor command: Bundle 'gmarik/vundle'
line   24:
E492: Not an editor command: Bundle 'Lokaltog/vim-easymotion'
line   25:
E492: Not an editor command: Bundle 'bling/vim-airline'

Here is a snippet of my _vimrc(in windows):

filetype off
set rtp += $VIM/vimfiles/bundle/vundle/
call vundle#rc('$VIM/vimfiles/bundle/')
Bundle 'gmarik/vundle'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'bling/vim-airline'
filetype plugin indent on     " required!
"vundle
3
  • Try set rtp+= $VIM/vimfiles/bundle/vundle/ without the space between rtp and +=. Commented Nov 18, 2013 at 12:44
  • It still does not work. Commented Nov 18, 2013 at 12:48
  • 1
    Haha, stupid me, I removed one space but not the other! Commented Nov 18, 2013 at 13:29

1 Answer 1

4

There must be no spaces in the :set command:

set rtp+=$VIM/vimfiles/bundle/vundle/

That caused the E518: Unknown option.

Furthermore, I would not recommended to put your personal customizations under C:\Program Files\vim; in newer Windows versions, this may only be writable with admin rights. Rather, take the _vimrc from there as a template, and copy all of your customizations to $HOME.

Sign up to request clarification or add additional context in comments.

1 Comment

I spent an hour trying to get the suggested line that had a tilde (~) instead of $VIM working. Thanks! I wish they would update the articles and install instructions. I'll try to do a pull request.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.