aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-04-21 22:13:57 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-04-21 22:13:57 +0200
commit02532c86364d9103a22789e4fb6a7ba6ef8dbf85 (patch)
treedb8bc88ce78c63212eae62329be32619a24d3eea /vim/vimrc
parent0e7111161bad89fd72d1fc63ee261fe5977dc328 (diff)
downloaddotfiles-02532c86364d9103a22789e4fb6a7ba6ef8dbf85.tar.xz
vim: set scrolloff=1
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
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 <space> <Leader>