How do I change the font used by GUI Vim?

You can change the ‘guifont’ option to change the font used by GUI Vim. To display the current value of this option, you can use

    :set guifont?

You can add the displayed font name to the .vimrc file to use the font across Vim sessions. For example, add the following line to the .vimrc file to use Andale Mono font.

    set guifont=Andale_Mono:h10:cANSI

For Win32, GTK and Photon version of Vim, you can use the following command to bringup a dialog which will help you in changing the guifont:

    :set guifont=*

You can also use the -font Vim command line option to specify the font used for normal text. -menufontset

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind