Friday, March 6, 2009

vim 7.2 on Mac

Compiling vim7.2 on Mac OS X was a cool experience. Here are the steps that I've followed.

1. Downloaded the MacVim from http://code.google.com/p/macvim.
2.  Installed "Xcode Tools" from "Optional Installs" of Mac OS X install DVD.
Note:
This step is necessary if GCC is not available. By default developer tools will not be installed. 
3. Extracted the vim source.
4. Used "./configure --enable-gui=macvim --prefix=/my/path".
5. Ran "xcodebuild".
6. Ran "open build/Release/MacVim.app".
7. Got the beautiful "vim".
8. Tried "tabnew" in the "colon prompt" and opened couple of files.
 

No comments:

Post a Comment