aboutsummaryrefslogtreecommitdiff
path: root/vimrc
blob: 424f5f06f07ee33196c2be1a0a0f3d02e46c2eaf (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
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')<CR>
"   nnoremap P   :silent  put!   =system('wl-paste')<CR>
" 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
" 
..