Created
January 7, 2019 14:02
-
-
Save kizzx2/7ddfb648389b907c583de7440ad126d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call rpcnotify(1, 'Gui', 'Font', 'Fira Code 22') | |
let s:fontsize = 22 | |
function! AdjustFontSize(amount) | |
let s:fontsize = s:fontsize+a:amount | |
call rpcnotify(1, 'Gui', 'Font', 'Fira Code ' . s:fontsize) | |
endfunction | |
noremap <c-+> :call AdjustFontSize(1)<CR> | |
noremap <c--> :call AdjustFontSize(-1)<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment