- Fetch the vim code using Aap. That gets you the source, the latest patches, etc.
- Download some icons. For some reason the compile kept failing because vim couldn't find any icons for OS X. So I downloaded some that I liked.
- Edit your vim/src/main.aap file. Search for ``gui_mac.icns`` and replace it with ``app.icns``.
- Copy your app icons into vim/src.
- Build/install using Aap. Don't bother trying to set PREFIX as it seems the eventual path into /Applications is hard-coded somewhere.
- Copy some doc icons over. Copy the doc icons to /Applications/Vim.app/Contents/Resources/doc.icns .
- Update the vim runtime files. Best way is through Aap.
- Alias ``vim`` for your console. Set the alias to /Applications/Vim.app/Contents/MacOS/Vim .
Getting gvim installed from source turned out to be harder than I was expecting. Because of that I figured I would share how I managed to get it finally to work so that nobody else has to go through the hassles I did in order to have a version of vim that is all patched.