mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:40:06 +08:00
Improve start up windows
This commit is contained in:
parent
e30e876f7b
commit
80407a48ca
@ -58,6 +58,7 @@ function! SpaceVim#autocmds#init() abort
|
||||
endif
|
||||
autocmd VimResized * wincmd =
|
||||
autocmd BufWritePost *.vim call s:generate_doc()
|
||||
autocmd FileType * set scrolloff=7
|
||||
augroup END
|
||||
endfunction
|
||||
function! s:reload_touchpad_status() abort
|
||||
|
@ -386,7 +386,7 @@ if zvim#plug#enable_plug()
|
||||
let g:indentLine_char = '¦'
|
||||
let g:indentLine_concealcursor = 'niv' " (default 'inc')
|
||||
let g:indentLine_conceallevel = 2 " (default 2)
|
||||
let g:indentLine_fileTypeExclude = ['help']
|
||||
let g:indentLine_fileTypeExclude = ['help', 'startify']
|
||||
call zvim#plug#add('godlygeek/tabular', { 'on_cmd': 'Tabularize'})
|
||||
call zvim#plug#add('benizi/vim-automkdir')
|
||||
"[c ]c jump between prev or next hunk
|
||||
|
@ -45,6 +45,8 @@ fu! <SID>startify_mapping()
|
||||
endif
|
||||
endf
|
||||
augroup startify_map
|
||||
au!
|
||||
autocmd FileType startify nnoremap <buffer><F2> <Nop>
|
||||
autocmd FileType startify call <SID>startify_mapping()
|
||||
autocmd FileType startify set scrolloff=0
|
||||
augroup END
|
||||
|
Loading…
Reference in New Issue
Block a user