Peter's Blog

Redefining the Impossible

Nice VIM GUI Font


This is how I installed a nice font for VIM. I have always wanted a monospaced sans-serif font and now I have found it here. The one I particularly like is "Proggy Square (Slashed Zero)" as it is clean and squeezes a bit more text on screen while still being readable to my fading eyesight. I set this up in VIM on win2k as follows:

  • Download TrueType font file and copy to Font folder to install it.
  • Add the following lines to my _vimrc file:
    set guifont=ProggyCleanTTSZBP:h11
    
    Where ProggyCleanTTSZBP is the name of the font and h11 is the font size (height 11: the aspect ratio is maintained).

The name of the font is the same as that listed in Edit/Select Font menu item in the GUI.


Filed under: vim

Comments are Closed