My vimrc is a compilation of the most useful vimrc's I've seen so far
cd ~
git clone http://github.com/rubinovk/.vim ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
cd ~/.vim
git submodule update --init
git submodule add http://github.com/foo.git bundle/foo
Each installed plugin that comes from github is a submodule in this project.
To updrade all the plugins just run:
cd ~/.vim
git submodule foreach git pull origin master
inspired by vimcasts.org