summaryrefslogtreecommitdiff
path: root/.vim/pack/mvertes/install.sh
blob: 36cf4148c5af08b4633d2032c3fce3097ba52843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

plugins='https://github.com/mvertes/vimki https://github.com/fatih/vim-go'
ht='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