random technical thoughts from the Nominet technical team

Anti-aliased fonts in Vim on Mac OS X

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted by chris on May 10th, 2006

It is quite simple to get anti-aliased fonts working in Vim (that’s the GUI version obviously) on Mac OS X, but it doesn’t seem to be advertised very widely. The relevant line to add to your .gvimrc file is:

set anti

that’s it. While you’re there, you might want to set the font to something nice too. My suggestion is:

set gfn=Monaco:h13

which will use 13pt Monaco, but that’s just my preference.

UPDATE: Now that Vim 7.0 is out there are more details in this FAQ. Notice that they suggest 13pt Monaco too….

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Recent Posts

Highest Rated

Categories

Archives

Meta: