summaryrefslogtreecommitdiff
path: root/.vim/pack/mvertes/install.sh
diff options
context:
space:
mode:
Diffstat (limited to '.vim/pack/mvertes/install.sh')
-rwxr-xr-x.vim/pack/mvertes/install.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/.vim/pack/mvertes/install.sh b/.vim/pack/mvertes/install.sh
new file mode 100755
index 0000000..54cf720
--- /dev/null
+++ b/.vim/pack/mvertes/install.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+plugins='
+git@github.com:mvertes/vimki
+git@github.com:fatih/vim-go
+git@github.com:othree/xml.vim
+git@github.com:junegunn/fzf.vim
+git@github.com:mattn/libcallex-vim
+git@github.com:bytesnake/vim-graphical-preview
+'
+ht='test -d doc && vim -c "helptags doc" -c "q"'
+
+mkdir -p start
+cd start
+for p in $plugins
+do
+ n=${p##*/}
+ if [ -d "$n" ]; then
+ echo "update $p"
+ (cd $n && git pull && eval "$ht")
+ else
+ echo "init $p"
+ (git clone $p && cd "$n" && eval "$ht")
+ fi
+done