Switch to same nerd font as alacritty

main
Thomas Gideon 3 months ago
parent da7fbd68c7
commit d561d1964e
  1. 4
      init.vim

@ -109,12 +109,12 @@ set guioptions-=m
set mouse=nv
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline:h13
set gfn=FiraCode\ Nerd\ Font\ Mono:h12
" from https://stackoverflow.com/a/51424640
let s:fontsize = 14
function! AdjustFontSize(amount)
let s:fontsize = s:fontsize+a:amount
:execute "set gfn=DejaVu\\ Sans\\ Mono\\ for\\ Powerline:h" . s:fontsize
:execute "set gfn=FiraCode\\ Nerd\\ Font\\ Mono:h" . s:fontsize
endfunction
noremap <C-Up> :call AdjustFontSize(1)<CR>

Loading…
Cancel
Save