From a60ed6e662512f0bfd82d25319443c5dfe931c46 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 4 May 2024 15:13:45 +0200 Subject: update --- .vim/pack/mvertes/install.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 .vim/pack/mvertes/install.sh (limited to '.vim') 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 -- cgit v1.2.3