Skip to content

Instantly share code, notes, and snippets.

@jodell
Created February 21, 2012 19:55
Show Gist options
  • Save jodell/1878495 to your computer and use it in GitHub Desktop.
Save jodell/1878495 to your computer and use it in GitHub Desktop.
vim osx installation
# From http://brilliantcorners.org/2011/02/building-vim-on-osx-snow-leopard/
# fetch the source into a vim directory
hg clone https://vim.googlecode.com/hg/ vim
cd vim
# make sure you're up to date
hg pull
hg update
# configure to install in /usr/local/bin and make sure Ruby and Python
# support are built in
./configure --prefix=/usr/local --enable-rubyinterp --enable-pythoninterp --with-features=huge
# build
make
# after it's finished building, you can double check that the support you
# want is now built in with this command:
./src/vim --version
# thoroughly clean the source tree
make clean
make distclean
# update vim source
hg pull
hg update default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment