Skip to content

Instantly share code, notes, and snippets.

@keeganstreet
keeganstreet / Vim plugins
Created April 17, 2011 09:52
Adding a Vim plugin as a git submodule
# From http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
# Add a Vim plugin as a git submodule
git submodule add http://github.com/tpope/vim-fugitive.git bundle/fugitive
git add .
git commit -m "Install Fugitive.vim bundle as a submodule."
# Update all submodules
git submodule foreach git pull origin master