exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' set packpath+=pack/submodules if has("nvim") set shadafile="/tmp/shada" endif if exists("g:neovide") " 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 endif " 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') " nnoremap P :silent put! =system('wl-paste') " endif " 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 "