diff --git a/editors/vim/ui.vim b/editors/vim/ui.vim index dfe1f52..645fa80 100644 --- a/editors/vim/ui.vim +++ b/editors/vim/ui.vim @@ -111,6 +111,8 @@ syntax on map e :e =expand("%:p:h") . "/" " Always show cursorline, but only in current window. + set scrolloff=3 + set scrolljump=10 set cursorline autocmd WinEnter * :setlocal cursorline autocmd WinLeave * :setlocal nocursorline