more changesssss

This commit is contained in:
2025-08-31 16:28:45 +01:00
parent ec479acc00
commit a9f69a3f15
10 changed files with 147 additions and 10 deletions

View File

@@ -9,11 +9,11 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
endif
let s:shortmess_save = &shortmess
set shortmess+=aoO
badd +1 ministarter://1/welcome
argglobal
%argdel
edit ministarter://1/welcome
argglobal
enew
file ministarter://1/welcome
setlocal foldmethod=manual
setlocal foldexpr=0
setlocal foldmarker={{{,}}}
@@ -22,6 +22,14 @@ setlocal foldlevel=999
setlocal foldminlines=1
setlocal foldnestmax=20
setlocal foldenable
silent! normal! zE
let &fdl = &fdl
let s:l = 1 - ((0 * winheight(0) + 25) / 51)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 1
normal! 022|
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf