Skip to content

Instantly share code, notes, and snippets.

@kizzx2 kizzx2/ginit.vim
Created Jan 7, 2019

What would you like to do?
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)
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
You can’t perform that action at this time.