Vim installed by Cygwin’s setup project does not have Ruby/Python/Perl support enabled by default. As my list of must have vim plugins has a few which use Ruby and Python, thought that it might be good to build my own Cygwin build of Vim. Turned out a little more work than I thought – but that’s more due to the misleading (at least for me 🙂 ) Make file in the vim source tree called Make_cyg.mak.
Here’s how to compile:
- Make sure you have python (and ruby, perl and whatever other interpreters you need vim built with) installed.
- Do not install vim through cygwin (or uninstall it if you have it)
- Download vim source tarball, untar it and go into the
./configure --enable-pythoninterp --enable-perlinterp --enable-rubyinterp --enable-gui=no --without-x --enable-multibyte --prefix=/usr make && make install
- You’re off to the races!