manage vim plugins using paththogen and git submodule
- Back up your current ~/.vim directory and ~/.vimrc if you have
cp -r ~/.vim ~/vim_bk
cp ~/.vimrc ~/.vimrc_bk
- Clone the repo to your local machine
git clone https://github.com/rjwalls/vim-settings.git ~/.vim
- Init and update Submodules
cd ~/.vim
git submodule init
git submodule foreach git pull origin master
- Set up vimrc
ln -s ~/.vim/.vimrc ~/.vimrc
- Change origin if you have a remote repo
git remote set-url origin yourgitrepo
=============
git submodule deinit bundle/vim-rvm
git rm bundle/vim-rvm
#git rm --cached bundle/vim-rvm
rm -rf .git/modules/bundle/vim-rvm
See more info here.