Adjust font size, set title
This commit is contained in:
parent
f021154d06
commit
6735acb96a
1 changed files with 4 additions and 2 deletions
6
init.vim
6
init.vim
|
@ -95,6 +95,8 @@ set termguicolors
|
||||||
set autoread
|
set autoread
|
||||||
au CursorHold * checktime
|
au CursorHold * checktime
|
||||||
|
|
||||||
|
set title
|
||||||
|
|
||||||
" keep nvim from resetting font back to default from terminal config
|
" keep nvim from resetting font back to default from terminal config
|
||||||
set guicursor=
|
set guicursor=
|
||||||
|
|
||||||
|
@ -103,9 +105,9 @@ set guioptions-=b
|
||||||
set guioptions-=T
|
set guioptions-=T
|
||||||
set guioptions-=m
|
set guioptions-=m
|
||||||
|
|
||||||
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline:h11
|
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline:h13
|
||||||
" from https://stackoverflow.com/a/51424640
|
" from https://stackoverflow.com/a/51424640
|
||||||
let s:fontsize = 10
|
let s:fontsize = 13
|
||||||
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=DejaVu\\ Sans\\ Mono\\ for\\ Powerline:h" . s:fontsize
|
||||||
|
|
Loading…
Reference in a new issue