Switch to same nerd font as alacritty

This commit is contained in:
Thomas Gideon 2022-09-18 10:25:46 -04:00
parent da7fbd68c7
commit d561d1964e
1 changed files with 2 additions and 2 deletions

View File

@ -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>