mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
Set scrolloff to 3
This commit is contained in:
parent
b2f0d6b38c
commit
36706524f3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user