From 02532c86364d9103a22789e4fb6a7ba6ef8dbf85 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 21 Apr 2015 22:13:57 +0200 Subject: vim: set scrolloff=1 --- vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 0847977..6a0b901 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -55,7 +55,8 @@ set undofile " save undo's after file closes set mouse=a " enable mouse in all modes set shortmess+=I " don't show the nag-screen set encoding=utf-8 " oh please, like this needs explanation -set showcmd +set showcmd " Show partial command in the last line of the screen +set scrolloff=1 " Minimum number of screen lines under/above the cursor " Use space as a leader map -- cgit v1.2.3-70-g09d2