mirror of https://github.com/bjeanes/dotfiles.git
scrolloff config in vim
parent
a9bce59ab1
commit
c3dacd5979
|
@ -111,6 +111,8 @@ syntax on
|
|||
map <Leader>e :e <C-R>=expand("%:p:h") . "/" <CR>
|
||||
|
||||
" Always show cursorline, but only in current window.
|
||||
set scrolloff=3
|
||||
set scrolljump=10
|
||||
set cursorline
|
||||
autocmd WinEnter * :setlocal cursorline
|
||||
autocmd WinLeave * :setlocal nocursorline
|
||||
|
|
Loading…
Reference in New Issue