centerscroll: use lua to filter buftypes
This commit is contained in:
parent
f3923dd425
commit
6e1060fbaf
2 changed files with 16 additions and 5 deletions
|
@ -1,5 +0,0 @@
|
|||
" from https://vi.stackexchange.com/a/26055
|
||||
augroup KeepCentered
|
||||
autocmd!
|
||||
autocmd CursorMoved * normal! zz
|
||||
augroup END
|
Loading…
Add table
Add a link
Reference in a new issue