mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
Add option for enable/disable vimfiler in welcome windows
This commit is contained in:
parent
4e9ea59eba
commit
452c88464c
@ -210,6 +210,13 @@ let g:spacevim_enable_powerline_fonts = 1
|
||||
" let g:spacevim_lint_on_save = 0
|
||||
" <
|
||||
let g:spacevim_lint_on_save = 1
|
||||
""
|
||||
" Enable/Disable Vimfiler in the welcome windows, this will cause vim slow on startup if
|
||||
" there are too many files in current directory. you can disable it by:
|
||||
" >
|
||||
" let g:spacevim_enable_vimfiler_welcome = 0
|
||||
" <
|
||||
let g:spacevim_enable_vimfiler_welcome = 1
|
||||
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
|
||||
let g:spacevim_smartcloseignoreft = ['help']
|
||||
let g:spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
||||
@ -320,7 +327,9 @@ endfunction
|
||||
|
||||
function! SpaceVim#welcome() abort
|
||||
if exists(':VimFiler') == 2 && exists(':Startify') == 2
|
||||
VimFiler
|
||||
if g:spacevim_enable_vimfiler_welcome
|
||||
VimFiler
|
||||
endif
|
||||
wincmd p
|
||||
Startify
|
||||
endif
|
||||
|
@ -218,6 +218,14 @@ To disable lint on save:
|
||||
let g:spacevim_lint_on_save = 0
|
||||
<
|
||||
|
||||
*g:spacevim_enable_vimfiler_welcome*
|
||||
Enable/Disable Vimfiler in the welcome windows, this will cause vim slow on
|
||||
startup if there are too many files in current directory. you can disable it
|
||||
by:
|
||||
>
|
||||
let g:spacevim_enable_vimfiler_welcome = 0
|
||||
<
|
||||
|
||||
*g:spacevim_hosts_url*
|
||||
The host file url. this option is for chinese users who can not use google and
|
||||
twitter.
|
||||
|
Loading…
Reference in New Issue
Block a user