Skip to content

Instantly share code, notes, and snippets.

@raine
Created September 26, 2011 19:18
Show Gist options
  • Save raine/1243107 to your computer and use it in GitHub Desktop.
Save raine/1243107 to your computer and use it in GitHub Desktop.
nnoremap <F5> :silent! let &guifont = substitute(
\ &guifont,
\ ':h\zs\d\+',
\ '\=eval(submatch(0)+1)',
\ '')<CR>
nnoremap <F4> :silent! let &guifont = substitute(
\ &guifont,
\ ':h\zs\d\+',
\ '\=eval(submatch(0)-1)',
\ '')<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment