Skip to content
Bjorn Winckler edited this page Oct 3, 2010 · 8 revisions

== How to clone the MacVim repo ==

Open up Terminal and type:

$ git clone git://github.com/b4winckler/macvim.git

== How to build MacVim ==

First clone the repo as above, then configure with the flags you want, e.g.:

$ cd macvim/src
$ ./configure --with-features=huge \
              --enable-rubyinterp \
              --enable-pythoninterp \
              --enable-perlinterp \
              --enable-cscope

Once this has finished, build the project:

$ make

The resulting app bundle will reside under MacVim/build/Release. To try it out quickly, type:

$ open MacVim/build/Release/MacVim.app

To install MacVim, type

$ open MacVim/build/Release

and drag the MacVim icon into your Applications folder.

=== Enabling extra features ===

You can enable extra Vim features by passing the appropriate flags to configure. These are the parameters to configure you are most likely to want to enable:

  • All standard features: --with-features=huge
  • Cscope support: --enable-cscope
  • Python interpreter: --enable-pythoninterp
  • Ruby interpreter: --enable-rubyinterp
  • Perl interpreter: --enable-perlinterp
  • Universal binary: --with-macarchs=ARCHS (ARCHS=x86_64,i386,ppc,.., one or more items in quotation marks separated by spaces)
  • Mac OS X SDK version: --with-macsdk=VER (VER=10.4,10.5,10.6,..)

To see all available flags, type ./configure --help.

Clone this wiki locally