using git submodules to track vim/tmux/zsh extensions11 Jan 2016
In the root folder of my dotfiles, my home directory. I have a .gitmodules file that lists each extension along with its name and directory. I have .oh-my-zsh, tmux and vim extensions included. To make it easier I made new aliases to add modules, update and one to quickly edit the modules file if I ever needed to.
add your extension
Grab the link e.g https://github.com/easymotion/vim-easymotion, navigate to your vim extensions folder. I prefer to use pathogen, all I you need to do is place the file in the bundle folder.
vimbundles and to clone it as a submodule
You can even checkout the .gitmodule file to see if it has been update.
If everything went well, the gitmodules file should look like this