aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc30
1 files changed, 12 insertions, 18 deletions
diff --git a/vimrc b/vimrc
index 4a81724..424f5f0 100644
--- a/vimrc
+++ b/vimrc
@@ -1,12 +1,19 @@
1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' 1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common'
2set packpath+=pack/submodules 2set packpath+=pack/submodules
3 3
4set isfname-== 4if has("nvim")
5set modeline 5 set shadafile="/tmp/shada"
6 6endif
7set signcolumn=yes
8set foldcolumn=1
9 7
8if exists("g:neovide")
9 " neovide specific
10 set guifont=monospace:h11:b
11 " :#e-subpixelantialias:#h-full
12 let g:neovide_cursor_animation_length=0.03
13 let g:neovide_cursor_trail_size=0.8
14 let g:neovide_scroll_animation_length = 0.05
15 let g:neovide_transparency = 0.9
16endif
10 17
11" if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY)) 18" if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY))
12" autocmd TextYankPost * call system("wl-copy", get(v:event, 'regcontents')) 19" autocmd TextYankPost * call system("wl-copy", get(v:event, 'regcontents'))
@@ -14,19 +21,6 @@ set foldcolumn=1
14" nnoremap P :silent put! =system('wl-paste')<CR> 21" nnoremap P :silent put! =system('wl-paste')<CR>
15" endif 22" endif
16 23
17
18if has("nvim")
19 set shadafile="/tmp/shada"
20endif
21
22" neovide specific
23set guifont=monospace:h11:b
24" :#e-subpixelantialias:#h-full
25let g:neovide_cursor_animation_length=0.03
26let g:neovide_cursor_trail_size=0.8
27let g:neovide_scroll_animation_length = 0.05
28let g:neovide_transparency = 0.9
29
30" scripts from the default vim installation, which do not get loaded by default, but are useful. 24" scripts from the default vim installation, which do not get loaded by default, but are useful.
31" if filereadable($VIMRUNTIME.'/macros/editexisting.vim') 25" if filereadable($VIMRUNTIME.'/macros/editexisting.vim')
32" packadd! editexisting 26" packadd! editexisting
..