Switch to same nerd font as alacritty
This commit is contained in:
parent
da7fbd68c7
commit
d561d1964e
1 changed files with 2 additions and 2 deletions
4
init.vim
4
init.vim
|
@ -109,12 +109,12 @@ set guioptions-=m
|
||||||
|
|
||||||
set mouse=nv
|
set mouse=nv
|
||||||
|
|
||||||
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline:h13
|
set gfn=FiraCode\ Nerd\ Font\ Mono:h12
|
||||||
" from https://stackoverflow.com/a/51424640
|
" from https://stackoverflow.com/a/51424640
|
||||||
let s:fontsize = 14
|
let s:fontsize = 14
|
||||||
function! AdjustFontSize(amount)
|
function! AdjustFontSize(amount)
|
||||||
let s:fontsize = s:fontsize+a: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
|
endfunction
|
||||||
|
|
||||||
noremap <C-Up> :call AdjustFontSize(1)<CR>
|
noremap <C-Up> :call AdjustFontSize(1)<CR>
|
||||||
|
|
Loading…
Reference in a new issue