diff options
author | June McEnroe <programble@gmail.com> | 2015-05-13 14:07:51 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2015-05-13 14:07:51 -0400 |
commit | 2c0b762e2221cc648a1b7d1471718a4af13de778 (patch) | |
tree | d4377ff6bbc95520bad3ec5265655a0d3da2bc73 | |
parent | Truncate RPROMPT with negative length (diff) | |
download | src-2c0b762e2221cc648a1b7d1471718a4af13de778.tar.gz src-2c0b762e2221cc648a1b7d1471718a4af13de778.zip |
Set scrolloff=1
-rw-r--r-- | .vimrc | 3 |
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 |