blob: ea8ee2b58058bec80e4e6d2cbb5f603ed7b22487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common'
set packpath+=pack/submodules
set isfname-==
set modeline
set signcolumn=yes
set foldcolumn=1
if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY))
autocmd TextYankPost * call system("wl-copy", get(v:event, 'regcontents'))
nnoremap p :silent put =system('wl-paste')<CR>
nnoremap P :silent put! =system('wl-paste')<CR>
endif
if has("nvim")
set shadafile="/tmp/shada"
endif
" neovide specific
set guifont=monospace:h11:b
" :#e-subpixelantialias:#h-full
let g:neovide_cursor_animation_length=0.03
let g:neovide_cursor_trail_size=0.8
let g:neovide_scroll_animation_length = 0.05
let g:neovide_transparency = 0.9
" scripts from the default vim installation, which do not get loaded by default, but are useful.
" if filereadable($VIMRUNTIME.'/macros/editexisting.vim')
" packadd! editexisting
" endif
"
" " load default plugin 'matchit' to allow % to jump between tags
" if filereadable($VIMRUNTIME.'/macros/matchit.vim')
" packadd! matchit
" endif
"
|