Skip to content

Instantly share code, notes, and snippets.

@partkyle
Last active December 20, 2015 11:48
Show Gist options
  • Save partkyle/6125687 to your computer and use it in GitHub Desktop.
Save partkyle/6125687 to your computer and use it in GitHub Desktop.
install vim from source to $HOME
# requires mercurial
set -e
LOCAL=$HOME/local
BUILD=$HOME/build
if [ -z "$VERSION" ]; then
VERSION="v7-4-005"
fi
mkdir -p $BUILD
cd $BUILD
if [ ! -e vim ]; then
hg clone https://vim.googlecode.com/hg/ vim
fi
cd vim
hg pull
hg co $VERSION
./configure --with-features=huge --enable-pythoninterp --enable-rubyinterp --prefix=$LOCAL
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment