.config/nvim/ginit.vim

changeset 1042
0d793459267d
parent 1040
b7d88feee303
equal deleted inserted replaced
1041:99ab96c49f65 1042:0d793459267d
1
2 set number 1 set number
3 set guifont=DejaVu\ Sans\ Mono:h10 2 set guifont=DejaVu\ Sans\ Mono:h10
4 set linespace=0 3 set linespace=0
5 4
6 if exists("g:fvim_loaded") 5 if exists("g:fvim_loaded")
7 set guifont=DejaVu\ Sans\ Mono:h13 6 " sizes are inconsistent... doesn't autoadjust for dpi? vimresize event not
8 FVimFontLineHeight "+1.0" 7 " fired?
8 if g:fvim_os == "windows"
9 set guifont=DejaVu\ Sans\ Mono:h13
10 FVimFontLineHeight "+1.0"
11 elseif g:fvim_render_scale > 1.0
12 set guifont=DejaVu\ Sans\ Mono:h11
13 else
14 set guifont=DejaVu\ Sans\ Mono:h10
15 endif
16
17 " These take a ton of scroll events to trigger, it's easier with the touchpad?
18 nnoremap <silent> <C-ScrollWheelUp> :set guifont=+<CR>
19 nnoremap <silent> <C-ScrollWheelDown> :set guifont=-<CR>
9 20
10 nnoremap <A-CR> :FVimToggleFullScreen<CR> 21 nnoremap <A-CR> :FVimToggleFullScreen<CR>
11 endif 22 endif
12 23

mercurial