.gvimrc

Wed, 25 Sep 2024 15:03:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 25 Sep 2024 15:03:13 -0500
changeset 1179
b0a0ba3240b5
parent 979
ecb1ba4072b9
permissions
-rw-r--r--

No LSP autostart when read-only

I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.

977
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 set number
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 set go-=T go-=m go-=t "no toolbar, menu, tearoffs
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 set guicursor+=a:blinkwait1000-blinkon1200-blinkoff250
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
979
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
7 if g:airline_powerline_fonts == 0
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
8 if g:on_windows
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
9 set guifont=DejaVu_Sans_Mono:h10:cDEFAULT
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
10 set linespace=0
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
11 elseif has('osx')
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
12 set guifont=DejaVu\ Sans\ Mono:h11
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
13 else
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
14 set guifont=DejaVu\ Sans\ Mono\ 10
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
15 endif
977
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 let g:airline_left_sep = '▒'
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 let g:airline_right_sep = '▒'
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 endif
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20
979
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
21 if !get(s:, 'vimrc_window_sized', 0)
977
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 set columns=120 lines=40
979
ecb1ba4072b9 gui fixes
Meredith Howard <mhoward@roomag.org>
parents: 977
diff changeset
23 let s:vimrc_window_sized = 1
977
ba16cab3aaf3 Proper split to gvimrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 endif

mercurial