Monday, June 16, 2008

Changing guifont of GVIM

After lotz of search trial & error:

Add this in .gvimrc (in your home directory)
-----------------------------------------------------
if has("gui_running")
if has("gui_gtk2")
set guifont=Bitstream Vera Sans Mono 11
elseif has("x11")
set
guifont=-*-courier-medium-r-normal-*-*-180-*-*-m-*-*
else
set guifont=Courier_New:h11:cDEFAULT
endif
endif
-----------------------------------------------------

0 comments: