Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM: different font size in each split

Tags:

vim

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 bigger font for reading documentation than for coding. However, all of my attempts finished in changing font in all opened views.

like image 228
MatijaSh Avatar asked Dec 03 '22 03:12

MatijaSh


1 Answers

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.

like image 83
Ned Batchelder Avatar answered Feb 27 '23 13:02

Ned Batchelder