Fix font rendering
This commit is contained in:
parent
b5935da9f7
commit
dfc493cb7e
1 changed files with 2 additions and 2 deletions
4
init.vim
4
init.vim
|
@ -103,12 +103,12 @@ set guioptions-=b
|
||||||
set guioptions-=T
|
set guioptions-=T
|
||||||
set guioptions-=m
|
set guioptions-=m
|
||||||
|
|
||||||
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline,\ Regular:h11
|
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline:h11
|
||||||
" from https://stackoverflow.com/a/51424640
|
" from https://stackoverflow.com/a/51424640
|
||||||
let s:fontsize = 10
|
let s:fontsize = 10
|
||||||
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,\\ Regular:h" . s:fontsize
|
:execute "set gfn=DejaVu\\ Sans\\ Mono\\ for\\ Powerline: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