Skip to content

Instantly share code, notes, and snippets.

@adwinsky
Forked from dcosson/gist:3686437
Created January 8, 2013 17:41
Show Gist options
  • Save adwinsky/4485941 to your computer and use it in GitHub Desktop.
Save adwinsky/4485941 to your computer and use it in GitHub Desktop.
# default vim on osx doesn't have python, ruby support or clipboard support. These configure options add all that
# I also ran into problems using rvm ruby, had to include those libs in the LDFLAGS for vim
# Steps:
$ rvm install 1.9.1
$ rvm use 1.9.1 # vim doesn't support anything higher
$ curl ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 | tar xj
$ cd vim73
$ ./configure --with-features=huge --enable-perlinterp=yes --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-multibyte
$ # edit src/auto/config.mk, add `-L/Users/dcosson/.rvm/rubies/ruby-1.9.1-p431/lib` to the LDFLAGS row
$ make
$ sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment