How to set a default font (AKA guifont) in your .gvimrc16/11/2010
A tip on editing your .gvimrc options file, for gvim or macvim… if you want to set a guifont, but the name contains spaces, you’ll need to escape the spaces to get the font to work.
For example, normally (at least on macvim), if you wanted to use, say, Monaco size 12 as a GUI font, you would add a line to your gvimrc saying
(Naturally, you could also :set this from within vim.)
If you wanted to use Bitstream Vera Sans Mono instead, you would escape the spaces with a backslash, thusly:
set guifont=Bitstream\ Vera\ Sans\ Mono:h12