added keybind for update
This commit is contained in:
@@ -13,11 +13,11 @@ if &shortmess =~ 'A'
|
||||
else
|
||||
set shortmess=aoO
|
||||
endif
|
||||
badd +1 .config/nvim/init.lua
|
||||
badd +86 .config/nvim/viml/legacyconf.vim
|
||||
argglobal
|
||||
%argdel
|
||||
$argadd .config/nvim/init.lua
|
||||
edit .config/nvim/init.lua
|
||||
$argadd .config/nvim/viml/legacyconf.vim
|
||||
edit .config/nvim/viml/legacyconf.vim
|
||||
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 = 1 - ((0 * winheight(0) + 23) / 47)
|
||||
let s:l = 86 - ((51 * winheight(0) + 26) / 52)
|
||||
if s:l < 1 | let s:l = 1 | endif
|
||||
keepjumps exe s:l
|
||||
normal! zt
|
||||
keepjumps 1
|
||||
normal! 0
|
||||
keepjumps 86
|
||||
normal! 033|
|
||||
tabnext 1
|
||||
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
|
||||
silent exe 'bwipe ' . s:wipebuf
|
||||
@@ -46,7 +46,6 @@ 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 :
|
||||
|
||||
Reference in New Issue
Block a user