Hacker News new | ask | show | jobs
by jvm 5032 days ago
Or OSX where I can never seem to get vim to build from source (which is the only option for Ruby or even Python integration). I know I've done it in the past but every time I need to I forget the magic I need to do.
2 comments

The vim that ships with 10.8 (and IIRC 10.7, maybe 10.6) has ruby and python linked out of the box, and straight-up

    ./configure --enable-rubyinterp && make
works just fine on my machine.

Or if yours isn't for whatever reason, you could cheat and grab MacVim[0] then symlink `/Applications/MacVim.app/Contents/MacOS/Vim` to `/usr/local/bin/vim` (editing paths as necessary)

[0] https://github.com/b4winckler/macvim

Just use MacVim and the bundled mvim.

Open file in MacVim:

    $ mivm file
Open file in Vim:

    $ mvim -v file
ooh if I've understood correctly `alias vim='mvim -v'` solves my problem, thanks!