Open
Description
Thanks you very much for the very interesting and useful page about Vim.
I love Vim-Galore :-)
The full font name on Windows some time contains a trailing :cANSI
In such case the :Bigger and :Small command you propose doesn't seems to work fine.
I propose to replace:
command! Bigger :let &guifont = substitute(&guifont, '\d\+$', '\=submatch(0)+1', '')
command! Smaller :let &guifont = substitute(&guifont, '\d\+$', '\=submatch(0)-1', '')
by:
command! Bigger :let &guifont = substitute(&guifont, '\(\d\+\)\ze\(:cANSI\)\?$', '\=submatch(1)+1', '')
command! Smaller :let &guifont = substitute(&guifont, '\(\d\+\)\ze\(:cANSI\)\?$', '\=submatch(1)-1', '')
Let me know if you want me to propose you a pull request.
Best regards,
Vivian
Metadata
Metadata
Assignees
Labels
No labels