1

I am trying to use Vundle to manage gVim plugins, but I can't get past an error when starting up Vundle in my gvimrc file. "unknown function: vundle#begin()"

This is usually some runtimepath problem, but I can clearly see that the directory of Vundle.vim is in my runtimepath.

My gvimrc file is in C:\Users\Username, and my vim installation is in C:\Program Files (x86)\Vim. My Vundle installation is in C:\Users\Username\.vim\bundle\Vundle.vim... and my run time path variable clearly includes this file path.

Here is the relevant text of my gvimrc:

set nocompatible        
syntax on
filetype off            

" set the runtime path to include Vundle and initialize 
set rtp+=C:\Users\username\\.vim\bundle\Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'path etc.'
call vundle#end()
filetype plugin indent on

I can successfully run PluginInstall and install some plugins, but I can't get vim to use Vundle. What more can I do?

1 Answer 1

0

Maybe it's caused by Windows path, try this:

let $vundle='C:/Users/username/.vim/bundle/Vundle.vim'
set rtp+=$vundle
Sign up to request clarification or add additional context in comments.

Comments

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.