#Xvm gulim font code
If it doesn't work, copy the code snippet found at the end of this section into your vimrc and start from there, changing one thing at a time until you're satisfied. If the current value is empty, or if the current font has neither the shape nor the size that you want, try method 2 above.In that case, press to leave command-line mode. If the current value is empty, you will have to proceed in some other way. If what you see is "almost" what you want, use method 3 above. However, a default or system vimrc may already have set some value. The default value for 'guifont' is the null string.Change what you want to change, write it down so you can later enter it in your vimrc if you find out that you like it, then press Enter to accept the new result.
The current value appears, with escaping backslashes if and where needed. Most versions allow setting an option by editing the current value, using However, the result is usually too restrictive.ģ. Some versions allow selecting the font by means of a menu, using Each version of the GUI accepts only one of them.Ģ. There are five possible formats for the 'guifont' option: GTK+2/3, kvim (obsolete), Photon, other-X11 and other. If this tip is too complex for you, and you're using gvim on only one of Windows, GTK2 or MacOSX (and on no other platform), then see Change font.ġ. Of course, this applies only to the GUI, since the font for console Vim is determined by the particular terminal or terminal emulator being used. It is assumed that 'guifontset' and 'guifontwide' will, if available, be left empty or set to a non-conflicting value. This tip concerns the setting of the 'guifont' option.