Wed, 22 Feb 2023 12:42:05 -0600
spin out completion.lua
1042 | 1 | set number |
2 | set guifont=DejaVu\ Sans\ Mono:h10 | |
3 | set linespace=0 | |
4 | ||
5 | if exists("g:fvim_loaded") | |
6 | " sizes are inconsistent... doesn't autoadjust for dpi? vimresize event not | |
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> | |
20 | ||
21 | nnoremap <A-CR> :FVimToggleFullScreen<CR> | |
22 | endif | |
23 |