From c3dacd59797e86ce66567ee5e09502b43bc53a9c Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Wed, 23 Nov 2011 16:55:32 -0600 Subject: [PATCH] scrolloff config in vim --- editors/vim/ui.vim | 2 ++ 1 file changed, 2 insertions(+) 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