diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 22:42:07 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 22:42:07 +1200 |
commit | 753f0533711ca148992b5cc9e843510614822058 (patch) | |
tree | 4ce9d89495917ef3987a8b353b3ee4f2043d4b3e /vim | |
parent | Remove 'autoread' and 'autowrite' .vimrc settings (diff) | |
download | dotfiles-753f0533711ca148992b5cc9e843510614822058.tar.gz dotfiles-753f0533711ca148992b5cc9e843510614822058.zip |
Remove 'scrolloff' and 'sidescrolloff' .vimrc set
'scrolloff' defaults to 0 anyway, and I don't often run into
'sidescrolloff' at all.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -154,7 +154,7 @@ endif " \f shows the current formatoptions at a glance nnoremap <Leader>f :<C-U>setlocal formatoptions?<CR> -" Match all forms of brackets in pairs (including angle brackets) +" Add angle brackets to pairs of characters to match set matchpairs+=<:> " Change and delete with C and D both cut off the remainder of the line from @@ -162,12 +162,6 @@ set matchpairs+=<:> " done with yy anyway); this fixes it so it only yanks the rest of the line nnoremap Y y$ -" 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> |