#Usage
- cd $HOME
- git clone repository .vim
- cd .vim
- git submodule init
- git submodule update
P.S. Help-tags will be generated when first opening vim, then some submodules will be dirty. So you should create a global gitignore https://help.github.com/articles/ignoring-files/#create-a-global-gitignore
-
To add a new submodule run from the top level directory:
git submodule add repository bundle/plugin
-
To pull a submodule repository run from the top level directory:
git submodule init
git submodule update
-
To remove a submodule;
delete entry in .gitmodule
delete entry in .git/modules/bundle/xxx
rm -rf bundle/xxx
gca