About Me

header ads

Change the font size in GVim

Suppose you want to see the font size in GVim always to 9 points instead of 10.
:set guifont=Monospace\ 9
Monospace Where is the font you want to use. Eye with \ because it is the way to "escape" the space before the number that specifies the font size.

From the menu Edit / Select font you can change the type and size by hand. Also using the following command:
:set gfn=*
Finally, if you want to keep your selection to restart GVim, creates the file ~/.gvimrc with the same set as in the first instance.

Post a Comment

0 Comments