Re: load diffrent font in gvim

2022-08-06 Thread Tony Mechelynck
'guifont' works only in gvim. If has(gui_running) is false, it will have no effect. Vim running in a terminal will use whatever font the terminal is using. This said, even in gvim it is better to use a monospaced font, because gvim has fixed-size character cells and uses two cells for "wide" CJK c

load diffrent font in gvim

2022-08-06 Thread Igor Lerinc
I use consolas font in Vim, but when i open it in Gvim, it appears widened (because consolas font is monospaced). So i want to use diffrent font for Gvim and diffrent for Vim. This is what i placed, but it doesn't work if has('gui_running') set guifont=Source\ Code\ Pro\ 10 set guifont=S