summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2015-05-13 14:07:51 -0400
committerJune McEnroe <june@causal.agency>2015-05-13 14:07:51 -0400
commite1aeae2e64b81266778bc7cb646ef263fdf2caa9 (patch)
tree810385f6868e0a5286e29447ef78e845712460b7
parentTruncate RPROMPT with negative length (diff)
downloadsrc-e1aeae2e64b81266778bc7cb646ef263fdf2caa9.tar.gz
src-e1aeae2e64b81266778bc7cb646ef263fdf2caa9.zip
Set scrolloff=1
Diffstat (limited to '')
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index c7a4c51e..349c1496 100644
--- a/.vimrc
+++ b/.vimrc
@@ -9,6 +9,9 @@ set hidden
 " Show cursor position and incomplete commands, always show status line.
 set ruler showcmd laststatus=2
 
+" Always show one extra line at the top or bottom of the window.
+set scrolloff=1
+
 " Search incrementally with smart case sensitivity, highlight all matches.
 set incsearch ignorecase smartcase hlsearch