Easily install the latest GUI Vim application
Dec 07, '07 07:30:02AM
Contributed by: Alex Yeh
In my search for the nicest text editor, I have kept returning to Vim. I would use it for a little while, and then I would lose interest because something or another wasn't quite working the way I liked. This last time, I manged to solve all of those things, and I even found some extra features I didn't know about. Right now, I am using Vim.app (native GUI), version 7.1.161, with all the latest patches. Even better, I did not have to puzzle over configuration settings or anything to compile it - I just entered a command, and everything else relating to compiling was done automatically. How is this possible, you ask? All will be revealed...
Prerequisites:
- Developer Tools
- Over 64MB free disk space
- A high-bandwidth connection
- Some familiarity with the command line
Okay, here are the steps:
- Visit the OS X section of the AAP site, and follow the directions there.
- Follow these directions. Go read a book or something while aap compiles Vim for you. Note, I chose /usr/local/aap/vim as the folder for aap to use. I will assume that you will use the same.
- Execute the following command as root (this is one long command line):
- Now, execute the following command not as root (this is also a long command line):
- Now, put /Applications/Vim.app in your dock, and install the remaining gzipped vimballs (the *.vba.gz files). To install a gzipped vimball, do the following:
- Drag the .vga.gz file onto the Vim icon on the dock.
- Enter :so % and then hit Return.
And you're done! Here are some extra steps to make using Vim nicer:
That's all. Enjoy your new fancy text editor!
Comments (9)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20071124195252409