" to allow specific fonts for specific OSes source ~/.config/nvim/glocal.vim set lines=65 set columns=120 set guioptions-=r set guioptions-=b set guioptions-=T set guioptions-=m " from https://stackoverflow.com/a/51424640 let s:fontsize = 11 function! AdjustFontSize(amount) let s:fontsize = s:fontsize+a:amount :execute "GuiFont! DejaVu Sans Mono:h" . s:fontsize endfunction noremap :call AdjustFontSize(1) noremap :call AdjustFontSize(-1) inoremap :call AdjustFontSize(1)a inoremap :call AdjustFontSize(-1)a