Installing Vim plugins with Vundle on Windows

Vundle v0.8 adds Windows suport! If you’re not Windows user it still worth updating Vundle, otherwise read on…

Before you can jump into installing plugins with Vundle, you need to have 2 dependencies configured:

  1. Git
  2. Curl

Git on Windows

Thanks to msysgit installation is trivial:

  1. Download msysgit installer
  2. run downloaded installer and follow instructions It’s important to configure PATH environment variable properly. That’s why it’s recommended to select Run git from Windows command prompt option, as shown: add git to PATH

After installation try running git --version within command prompt (press Win-R, type cmd, press Enter) to make sure all good:

C:\> git --version
git version 1.7.4.msysgit.0

Curl on Windows

Is easy as Curl is bundled with msysgit! But before it can be used with Vundle it’s required make curl run in command prompt. The easies way is to create curl.cmd with this content

and copy it to C:\Program Files\Git\cmd\curl.cmd, assuming msysgit was installed to c:\Program Files\Git

to verify all good, run:

C:\> curl --version
curl 7.21.1 (i686-pc-mingw32) libcurl/7.21.1 OpenSSL/0.9.8k zlib/1.2.3
Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: Largefile NTLM SSL SSPI libz

Vundle on Windows

Run in command prompt

cd %USERPROFILE%
git clone http://github.com/gmarik/vundle .vim/vundle.git
gvim _vimrc

Then follow the steps 2 and 3 of the Quick start

Credits

Credits go to eco and morhetz for pushing windows compatibility.

Wiki

See Vundle Wiki for most up to date instructions.

Comments