aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--%HOME%/.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/%HOME%/.vimrc b/%HOME%/.vimrc
index 0c92553..8dff23b 100644
--- a/%HOME%/.vimrc
+++ b/%HOME%/.vimrc
@@ -41,6 +41,8 @@ set ruler
set number
" Add a vertical ruler.
set colorcolumn=80
+" Show a few lines of context around the cursor.
+set scrolloff=5
" -----------------------------------------------------------------------------
" Key bindings