clipboard

This commit is contained in:
2023-08-13 09:06:22 +02:00
parent 72bdf68ee5
commit b1c4721cd6
4 changed files with 62 additions and 59 deletions

View File

@@ -13,11 +13,11 @@ if &shortmess =~ 'A'
else
set shortmess=aoO
endif
badd +86 .config/nvim/viml/legacyconf.vim
badd +9 .config/nvim/init.lua
argglobal
%argdel
$argadd .config/nvim/viml/legacyconf.vim
edit .config/nvim/viml/legacyconf.vim
$argadd .config/nvim/init.lua
edit .config/nvim/init.lua
argglobal
setlocal fdm=expr
setlocal fde=nvim_treesitter#foldexpr()
@@ -27,12 +27,12 @@ setlocal fdl=0
setlocal fml=1
setlocal fdn=20
setlocal nofen
let s:l = 86 - ((51 * winheight(0) + 26) / 52)
let s:l = 9 - ((8 * winheight(0) + 25) / 50)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 86
normal! 033|
keepjumps 9
normal! 021|
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf
@@ -46,6 +46,7 @@ if filereadable(s:sx)
endif
let &g:so = s:so_save | let &g:siso = s:siso_save
set hlsearch
nohlsearch
doautoall SessionLoadPost
unlet SessionLoad
" vim: set ft=vim :