.config/nvim/ginit.vim

Thu, 23 Feb 2023 13:58:37 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 23 Feb 2023 13:58:37 -0600
changeset 1049
3f01468ffc32
parent 1042
0d793459267d
permissions
-rw-r--r--

Switch to themer jellybeans

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

mercurial