1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:50:04 +08:00

Set scrolloff to 3

This commit is contained in:
wsdjeg 2017-04-02 18:55:23 +08:00
parent b2f0d6b38c
commit 36706524f3
2 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,6 @@ function! SpaceVim#autocmds#init() abort
autocmd FocusGained * call s:reload_touchpad_status()
endif
autocmd BufWritePost *.vim call s:generate_doc()
autocmd FileType * set scrolloff=7
autocmd VimEnter * if !argc() | call SpaceVim#welcome() | endif
augroup END
endfunction

View File

@ -96,7 +96,7 @@ function! SpaceVim#default#SetOptions() abort
set complete=.,w,b,u,t
" limit completion menu height
set pumheight=15
set scrolloff=7
set scrolloff=3
set incsearch
set hlsearch
set laststatus=2