Skip to content

Instantly share code, notes, and snippets.

@soh335
Created May 4, 2009 00:57
Show Gist options
  • Save soh335/106229 to your computer and use it in GitHub Desktop.
Save soh335/106229 to your computer and use it in GitHub Desktop.
function! ToggleFont()
if &guifont=~"あくあフォント"
set guifont=
set guifontwide=
else
set guifont=あくあフォント:h13
set guifontwide=あくあフォント:h13
endif
endfunction
command! ToggleFont :call ToggleFont()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment