git clone https://github.com/Dude4Linux/dotvim.git ~/.vim
Create symlink:
ln -s ~/.vim/vimrc ~/.vimrc
Install vim-nox:
apt-get update
apt-get -y install vim-nox
Switch to the ~/.vim
directory, and fetch submodules:
cd ~/.vim
git submodule update --init
cd ~/.vim
git submodule add http://github.com/_path/to/vim-module_.git bundle/_module_
git add .
git commit -m "install _module_.vim bundle as a submodule."
Replace path and module name as appropriate
cd ~/.vim
git pull origin master
git submodule foreach git pull origin master
-
VIM CASTS.org - Synchronizing plugins with git submodules and pathogen
http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
-
Nils Haldenwang - How to ignore changes in git submodules
http://www.nils-haldenwang.de/frameworks-and-tools/git/how-to-ignore-changes-in-git-submodules