16 lines
472 B
Text
16 lines
472 B
Text
" Based on http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
|
|
|
|
" Add new vim plugin
|
|
" ------------------
|
|
|
|
" cd <dotfiles-git-repo>
|
|
" git submodule add http://gitrepo.url/plugin.git .vim/bundle/pluginname
|
|
" git add ...
|
|
" git commit -m '...'
|
|
|
|
" Clone the vim config to another machine
|
|
" ---------------------------------------
|
|
" git clone http://github.com/username/dotvim.git ~/.vim
|
|
" cd ~/.vim
|
|
" git submodule init
|
|
" git submodule update
|