git clone git://github.com/lleixat/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
... and fetch submodules:
cd ~/.vim
git submodule init
git submodule update
gitvim -af repolist
Add something like this to your ~/.zshrc
(or ~/.bashrc
)
function vimplug_update () {
cd $HOME/.vim/ && git submodule foreach git pull origin master && echo -e "\n:: Back to current directory :" && cd -
}
Do
source ~/.myshellrc && vimplug_update
.myshellrc
corresponding on your preferred shell system like .zshrc
.
You can execute vimplug_update
every time you want to update your plugins.
Use gitvim
script installed in $PATH
(like $HOME/bin/
) or creating symlink: ln -s $HOME/.vim/gitvim $HOME/bin/gitvim
Updating all plugins : gitvim -u
Or updating only 'PIV' submodule : gitvim -u bundle/PIV
Maybe giving gitvim
his own repo ?
Send issues, pull requests, a beer or whatever ...
That's all... thx for watching !