From e1aeae2e64b81266778bc7cb646ef263fdf2caa9 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 13 May 2015 14:07:51 -0400 Subject: Set scrolloff=1 --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit 1.4.1