summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-04-28 14:34:52 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-04-28 14:34:52 +0200
commitecc76d83bc0d264945953e116ba4854bab96fef3 (patch)
tree4fe9c70e87941641b41f4187be2cba2d465c2eb7 /vimrc
parent31d95d2eb9e00e25e80ea774e5866dfd35839e9e (diff)
downloadvim-ecc76d83bc0d264945953e116ba4854bab96fef3.zip
vim-ecc76d83bc0d264945953e116ba4854bab96fef3.tar.gz
vimrc: set scrolloff=5
Diffstat (limited to 'vimrc')
-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