27 lines
718 B
Text
27 lines
718 B
Text
" Based on http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
|
|
"
|
|
" Attention: jedi-vim requires 'pip install jedi'
|
|
|
|
" 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
|
|
|
|
" Update single plugin
|
|
" --------------------
|
|
" cd ~/.vim/bundle/pluginname
|
|
" git pull origin master
|
|
|
|
" Upgrade all plugins
|
|
" -------------------
|
|
" git submodule foreach git pull origin master
|