Simplify autocmd

This commit is contained in:
Anthony Rose 2023-01-13 13:23:51 +00:00
parent 921f3c13e0
commit 1366e69cfd

5
vimrc
View file

@ -148,11 +148,8 @@ if has('autocmd')
autocmd User GoyoEnter Limelight
autocmd User GoyoLeave Limelight!
augroup VCenterCursor
au!
au BufEnter,WinEnter,WinNew,VimResized *,*.*
autocmd BufEnter,WinEnter,WinNew,VimResized *
\ let &scrolloff=winheight(win_getid())/2
augroup END
endif
if has('folding')