based on pathogen.vim runtimepath manager
-
Check out dotVim into
~/.vim
:$ cd $ git clone git://github.com/nebjak/dotVim-pathogen.git .vim
-
Change to
~/.vim
:$ cd .vim
-
Check out submodules:
$ git submodule update --init
-
Update submodules:
$ git submodule foreach git pull origin master
-
Make link for
.vimrc
file:$ cd $ ln -s .vim/vimrc .vimrc