summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 4748327..79ea9fb 100644
--- a/vimrc
+++ b/vimrc
@@ -53,6 +53,7 @@ else
endif
set autoindent " use autoindent"
set nocompatible " do not try to act like vi
+set scrolloff=5 " number of context lines above and below the cursor
set laststatus=2 " alway add status line
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time