summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2024-05-04 15:13:45 +0200
committerMarc Vertes <mvertes@free.fr>2024-05-04 15:13:45 +0200
commita60ed6e662512f0bfd82d25319443c5dfe931c46 (patch)
tree56a2f536e17beaa521946e81e7109903bac50b30 /.vim
parenta052b89e9b34db4fef0694cbd12f329cbc76a9d5 (diff)
update
Diffstat (limited to '.vim')
-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