aboutsummaryrefslogtreecommitdiff
path: root/vim/config/scroll.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/scroll.vim')
-rw-r--r--vim/config/scroll.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/config/scroll.vim b/vim/config/scroll.vim
new file mode 100644
index 00000000..62bc4ee8
--- /dev/null
+++ b/vim/config/scroll.vim
@@ -0,0 +1,5 @@
+" 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