Dynamically change font size in gvim

gvimvim

I'd like to be able to dynamically change the font size in gvim.

Essentially, the common zoom-in/zoom-out functionality you find in a lot of software.

So if I press Ctrl+=, the font size gets bigger. If I press Ctrl+-, the font size decreases. And, ideally, if I press Ctrl-0 the font size returns to my default size.

Is it possible?

Best Answer

Sure it is, via zoom.vim

(it is mapped to + and - by default, but I gather you know how to change that to your liking).