aboutsummaryrefslogtreecommitdiff
path: root/vim/config/scroll.vim
blob: 73c3dcec45150fd9b4e709a79a3362339f28b08a (plain)
1
2
3
4
5
6
7
8
" Allow the cursor to get to the top or bottom of the screen before scrolling
" vertically, but set a reasonably wide gutter for scrolling horizontally; no
" particular reason, just suits me better
set scrolloff=0
set sidescrolloff=16

" Rebind <Space> in normal mode as a lazy scroll
nnoremap <Space> <C-f>