My Vim files made from scratch, focusing in plugins that I use. I prefer to type fast, than having to record many plugins shortcuts.
This configuration is used in VIM terminal, since I stopped to use GUI versions.
$ git submodule init
$ git submodule update$ git submodule add <remote_repo> bundle/<plugin_name>
$ git add bundle/<plugin_name>
$ git commit -m "Add <plugin_name> plugin"Note that when adding a new submodule you have to add without trailing slash.
$ git submodule foreach git pull
$ git add bundle/plugin1 bundle/plugin2 ... bundle/pluginNOr just run
sh upgrade.shNote that when adding a new submodule you have to add without trailing slash.
- Run
git rm --cached path_to_submodule(no trailing slash). - Delete the relevant section from the
.gitmodulesfile. - Delete the relevant section from
.git/config. - Commit
- Delete the untracked submodule files
rm -rf path_to_submodule
Extracted from: http://stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule
Check out https://github.com/garybernhardt/selecta