VIM: different font size in each split

前端 未结 2 761
旧巷少年郎
旧巷少年郎 2021-01-19 03:41

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

相关标签:
2条回答
  • 2021-01-19 04:31

    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).

    0 讨论(0)
  • 2021-01-19 04:33

    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.

    0 讨论(0)
提交回复
热议问题