mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +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()
|
autocmd FocusGained * call s:reload_touchpad_status()
|
||||||
endif
|
endif
|
||||||
autocmd BufWritePost *.vim call s:generate_doc()
|
autocmd BufWritePost *.vim call s:generate_doc()
|
||||||
autocmd FileType * set scrolloff=7
|
|
||||||
autocmd VimEnter * if !argc() | call SpaceVim#welcome() | endif
|
autocmd VimEnter * if !argc() | call SpaceVim#welcome() | endif
|
||||||
augroup END
|
augroup END
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -96,7 +96,7 @@ function! SpaceVim#default#SetOptions() abort
|
|||||||
set complete=.,w,b,u,t
|
set complete=.,w,b,u,t
|
||||||
" limit completion menu height
|
" limit completion menu height
|
||||||
set pumheight=15
|
set pumheight=15
|
||||||
set scrolloff=7
|
set scrolloff=3
|
||||||
set incsearch
|
set incsearch
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
Loading…
Reference in New Issue
Block a user