Many systems offer + and - zoom buttons. Can someone please demonstrate how such two buttons can be emulated with
This means that clicking the + button would increase the font size by one step. The - button does just the opposite.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
I think something along the following lines should work:
amenu ToolBar.Builtin#31 :let &guifont=substitute(&guifont, '\(\d\+\)', '\=submatch(1)+1', '')<cr> amenu ToolBar.Builtin#32 :let &guifont=substitute(&guifont, '\(\d\+\)', '\=submatch(1)-1', '')<cr>
Now, to include nice icons, you simply need to add the icon argument.