Stop centering the current line in the window

This commit is contained in:
Anthony Rose 2023-01-25 13:13:00 +00:00
parent 62a3143795
commit 54c0e57b20

3
vimrc
View file

@ -147,9 +147,6 @@ if has('autocmd')
autocmd User GoyoEnter Limelight autocmd User GoyoEnter Limelight
autocmd User GoyoLeave Limelight! autocmd User GoyoLeave Limelight!
autocmd BufEnter,WinEnter,WinNew,VimResized *
\ let &scrolloff=winheight(win_getid())/2
endif endif
if has('folding') if has('folding')