summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-10-26 15:19:42 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-10-26 15:19:42 +0200
commit758d594991d36da0f537ae7fb1001c86582e206f (patch)
treed2efcc5ce59f8ffdcfee116357b19b44bfac8449
parent3191d5bbd53a553dd07c9f487d701c01cd8cac4d (diff)
Install vim-plug if not available
-rwxr-xr-xinstall6
1 files changed, 6 insertions, 0 deletions
diff --git a/install b/install
index 86167d2..e4ed2e3 100755
--- a/install
+++ b/install
@@ -22,3 +22,9 @@ mkdir -pv ~/bin
for bin in $BASE/bin/*; do
ln -svf $bin ~/bin
done
+
+# install vim-plug
+if [ ! -e ~/.vim/autoload/plug.vim ]; then
+ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
+ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+fi

Contact - Imprint