On Sun, 2005-08-07 at 13:54 +0200, Hanspeter Roth wrote:
Hello,
gvim has an awfull font at startup that is "Sans Regular 10".
In the Font Selection dialog I can change it to "Courier Regular
11". This works.
Now I'de like to set this font at startup by the "set
guifont=courier:h11" statement in ~/.gvimrc. But this selects the
ugly "Sans Regular 12" font.
Also trying to set the font interactivaly by
:set guifont=courier:h11
results in the "Sans Regular 12" font.
How can I set the font to "Courier Regular 11" at startup of gvim?
Also trying to select a specific size of the "Fixed" font in Font
Selection dialog doesn't work. Selecting 8 or 9 or 10 always results
in the same fontsize.
How can I set a specific size of the "Fixed" font?
-Hanspeter
Here is the line I use in .gvimrc:
set guifont=Bitstream\ Vera\ Sans\ Mono\ 8
So try:
set guifont=Courier\ 11