diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:13:10 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:13:10 +1300 |
commit | 1576bf3cc8058f983615585a3dbe5e8576467c7a (patch) | |
tree | 3bda2cde6e36123a4cadcb122f1032238b6c3a13 /vim/config/scroll.vim | |
parent | Move visual-mode .vimrc config into subfile (diff) | |
download | dotfiles-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.vim | 5 |
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 |