Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easily install the latest GUI Vim application' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily install the latest GUI Vim application
Authored by: Alex Yeh on Dec 12, '07 03:09:31PM
After playing with this, I found out (the hard way) that the suggested method of using aap's "config.arg" file to customize vim (adding, for example, the perl, python, and ruby interpreters and the "huge" featureset) doesn't really work. So, moving forward, I have found a hybrid method that works quite well. Here are the steps:
  1. make a folder to build vim in, and "cd" into that folder.
  2. use aap to download vim, and apply all the patches, like so:
  3. aap -f http://www.a-a-p.org/vim/main.aap fetch CVS=no
  4. write a shellscript to pass arguments to "configure." For the sake of this comment, I'll call the script "configurator." Here's a copy of a shellscript that I use. Save the script in the "vim" folder that aap built, and "chmod" it 755
  5. issue this command in the folder the script is in: ./configurator.sh && make && make install
That's all. Here is a compressed file containing my .vim folder, .profile, .vimrc, and .gvimrc files. These allow me to use the new version of Vim for editing my crontab file, among other things. Sorry about the problems with the original hint… I guess I just got too excited. ;)

[ Reply to This | # ]