aboutsummaryrefslogtreecommitdiff
path: root/vim/config/scroll.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:13:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:13:10 +1300
commit1576bf3cc8058f983615585a3dbe5e8576467c7a (patch)
tree3bda2cde6e36123a4cadcb122f1032238b6c3a13 /vim/config/scroll.vim
parentMove visual-mode .vimrc config into subfile (diff)
downloaddotfiles-1576bf3cc8058f983615585a3dbe5e8576467c7a.tar.gz
dotfiles-1576bf3cc8058f983615585a3dbe5e8576467c7a.zip
Move scrolling .vimrc config into subfile
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