Skip to content

Instantly share code, notes, and snippets.

@pmagwene
Created March 12, 2012 17:09
Show Gist options
  • Save pmagwene/2023405 to your computer and use it in GitHub Desktop.
Save pmagwene/2023405 to your computer and use it in GitHub Desktop.
build vim 7.3 on OS X w/non-system python and lua support

If using brew version of python

Make sure you brew as:

brew install --framework python

Configure

$ env vi_cv_path_python=/usr/local/bin/python ./configure --enable-rubyinterp --enable-pythoninterp --enable-luainterp --enable-gui=no --with-features=huge --with-python-config-dir=/usr/local/lib/python2.7/config --with-lua-prefix=/usr/local

Make

make && make install

Checking if it worked

In vim:

:python import sys; print sys.version

and

:lua print(2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment