From 52377dfb225309a77246b695ac5cf8fef54f1779 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 31 Mar 2021 12:23:59 +0200 Subject: [PATCH] Add installvim script --- script/installvim | 16 ++++++++++++++++ script/updatevim | 1 + 2 files changed, 17 insertions(+) create mode 100755 script/installvim create mode 120000 script/updatevim diff --git a/script/installvim b/script/installvim new file mode 100755 index 0000000..f289847 --- /dev/null +++ b/script/installvim @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -e + +mkdir -p $HOME/dev +destdir=$HOME/dev/vim +if [ -d $destdir ]; then + cd $destdir + git pull --rebase +else + cd $HOME/dev + git clone -q https://github.com/vim/vim.git vim +fi +cd $HOME/dev/vim +./configure --prefix=$HOME/local --enable-rubyinterp --enable-luainterp --enable-python3interp --with-features=huge --enable-multibyte --enable-gui=gtk2 --with-x +make -j6 +make install diff --git a/script/updatevim b/script/updatevim new file mode 120000 index 0000000..7bf7931 --- /dev/null +++ b/script/updatevim @@ -0,0 +1 @@ +installvim \ No newline at end of file