[vox-tech] Setting the font in gvim (Vim with GUI)

Henry House hajhouse at houseag.com
Thu Nov 16 15:40:09 PST 2006


I'm trying to set the font in my .gvimrc for gvim (Vim with GTK
interface). One of the neat things about gvim is that it supports using
truetype unicode fonts, such as Bitstream Vera. I can set the font
manually in a gvim session using ':set guifont=*', then choosing the
font in the dialog box. After that, I can retrieve the font chosen using
':set guifont', prints 'guifont=Bitstream Vera Sans Mono 18' (for
example). Typing in 'set guifont=Bitstream Vera Sans Mono 18' has no
does not work (the error suggests that the spaces are confusing the
command where to break the arguments). That makes some sense. But the
logical variation 'set guifont="Bitstream Vera Sans Mono 18"' does not
work either: it in fact resets the font to the default value. Placing
that same command line in .vimrc or .gvimrc has no effect. Can anyone
suggest a solution to my frustration?

-- 
Henry House
+1 530 753 3361 ext. 13
Please don't send me HTML mail! My mail system frequently rejects it.
The unintelligible text that may follow is a digital signature.
See <http://hajhouse.org/pgp> to find out how to use it.
My OpenPGP key: <http://hajhouse.org/hajhouse.asc>.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20061116/69e1cd35/attachment.pgp


More information about the vox-tech mailing list