aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc8
1 files changed, 1 insertions, 7 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 449fbab1..aab44c87 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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>