[Vundle] is short for Vimbundle and is a [Vim] plugin manager.
-
Setup [Vundle]:
$ git clone git@github.com:wxmcan/vundle.git in your home folder. $ mv vundle .vim $ ln -s ~/.vim/vimrc ~/.vimrc $ mkdir ~/.vim/bundle $ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
-
Configure bundles:
Sample
.vimrc
:set nocompatible " be iMproved filetype off " required! set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " let Vundle manage Vundle " required! Bundle 'gmarik/vundle' " My Bundles here: " " original repos on github Bundle 'tpope/vim-fugitive' Bundle 'Lokaltog/vim-easymotion' Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} Bundle 'tpope/vim-rails.git' " vim-scripts repos Bundle 'L9' Bundle 'FuzzyFinder' " non github repos Bundle 'git://git.wincent.com/command-t.git' " ... filetype plugin indent on " required! " " Brief help " :BundleList - list configured bundles " :BundleInstall(!) - install(update) bundles " :BundleSearch(!) foo - search(or refresh cache first) for foo " :BundleClean(!) - confirm(or auto-approve) removal of unused bundles " " see :h vundle for more details or wiki for FAQ " NOTE: comments after Bundle command are not allowed..
-
Install configured bundles:
Launch
vim
, run:BundleInstall
(orvim +BundleInstall +qall
for CLI lovers)Windows users see Vundle for Windows
Installing requires [Git] and triggers Git clone for each configured repo to
~/.vim/bundle/
.