Is it possible to set different font sizes in different split views in vim? I often do :vsplit to open documentation in one and source in another view, and would like to use
Type :help 'guifont'
:
'guifont' 'gfn' string (default "")
global
{not in Vi}
{only available when compiled with GUI enabled}
We can see that: guifont
is a global option. So when you change it, it affect all windows.
In the future, this option can be global or local to buffer/window
(such as cm
).
Vim is built on a classic terminal model: the entire screen must be completely monospaced. There's no way to control the size of the text independently in different parts of the screen. More's the pity.