vundle/README.md
2010-10-19 00:01:50 -05:00

1.5 KiB

About

** Warning: alpha quality **

Vundle is a short cut for Vimbundle and is a ~80 LOC plugin for managing Vim plugins.

Installation

mkdir -p ~/.vim/autoload/ && \
curl http://github.com/gmarik/vundle/raw/master/autoload/vundle.vim > ~/.vim/autoload/vundle.vim

Configuration

Configure required plugins in ~/.vim/bundlerc, ie like this:

cat > ~/.vim/bundlerc <<EOF 
" Bundle "<git-repo-uri>"
Bundle "http://github.com/vim-scripts/L9.git"
Bundle "http://github.com/vim-scripts/FuzzyFinder.git"
Bundle "git://git.wincent.com/command-t.git"
Bundle "http://github.com/vim-scripts/rails.vim.git"
Bundle "http://github.com/vim-scripts/ack.vim.git"
" check http://vim-scripts.org for more
EOF

BTW Vim-Scripts.org is a git mirror of all vim scripts. See gmarik's bubdlerc for working example.

Add to your .vimrc

call vundle#rc()

Installing plugins

vim  -e -c 'BundleInstall' -c 'q'

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

Thanks

TODO:

  • improve code (as this is my first Vim plugin
  • support non Git resources aswell