From e78590fc7aa6d465e9f1b4ee432b7ea70adfa107 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Sat, 21 Sep 2019 11:37:36 +0800 Subject: [PATCH] Remove scrolloff --- .vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 5901dd3..bb4fa1c 100644 --- a/.vimrc +++ b/.vimrc @@ -35,9 +35,9 @@ endif """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => VIM user interface """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" set 8 lines to the cursor - when moving vertically using j/k +" set n lines to the cursor - when moving vertically using j/k " j/k移动时光标距离文件上下n行 缩写 set so = 8 -set scrolloff=8 +set scrolloff=0 " gVim automatically maximize when it open " 启动时最大化gVim @@ -338,3 +338,4 @@ endif " source $VIMRUNTIME/vimrc_example.vim " source $VIMRUNTIME/mswin.vim +