vundle/README.md
2011-03-30 22:44:58 -06:00

3.9 KiB

About

Vundle is a short cut for Vimbundle and is a Vim plugin manager.

Quick start

  1. Requirements:

    Vundle requires the git and curl commandline tools. These can be installed through the regular means for your operating system.

    On Windows you can install git using msysgit. Git must be added to the PATH environment variable for Vundle to work. The msysgit installer provides an option to add git to the path automatically.

    The curl Windows binary can be found on the curl website. Copy the files to where you'd like to store them (%PROGRAMFILES%\curl is a pretty good choice).

    You can edit your Windows PATH environment variable by right-clicking on My Computer and selecting selecting Properties (Windows Vista/7 users must also click Advanced System Settings). Go to the Advanced tab and click Environment Variables.... Append the path where you installed curl to the Path system variable.

  2. Setup Vundle:

     git clone http://github.com/gmarik/vundle.git ~/.vim/vundle.git
    
  3. Configure bundles:

    Put into your ~/.vimrc:

     set rtp+=~/.vim/vundle.git/ 
     call vundle#rc()
    
     " Bundles:
     Bundle "L9"
     Bundle "FuzzyFinder"
     Bundle "rails.vim"
     Bundle "ack.vim"
     Bundle "git://git.wincent.com/command-t.git"
     " ...
    
     " NOTE: if some plugins fail to work, put the config *between* lines:
     " filetype off
     " "Bundles here
     " filetype plugin indent on 
    
  4. Install configured bundles:

    Launch vim, run :BundleInstall (no Vim restart required since v0.5)

    Installing requires Git and triggers Git clone for each configured repo to ~/.vim/bundle/.

Why Vundle

Vundle allows to:

Also Vundle:

  • manages runtime path of your installed scripts
  • regenerates helptag atomatically

Docs

see :h vundle vimdoc for more details.

Examples

See gmarik's vimrc for working example.

Inspiration and ideas from

Also

  • Vundle was developed and tested with Vim 7.3 on OSX and Linux
  • Vundle wasn't tested on windows(so if you care i'm waiting for your pull request)
  • Vundle tries to be as KISS as possible

TODO:

Vundle is a work in progress so any ideas/patches appreciated

  • √ activate newly added bundles on .vimrc reload or after :BundleInstall
  • √ use preview window for search results
  • √ vim documentation
  • tests
  • improve error handling
  • :VundleUpdate - self.update
  • handle dependencies
  • allow specify revision/version?
  • search by description aswell
  • show descrption in search results
  • instead sourcing .vimrc before installation come up with another solution
  • make it rock!