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

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind