mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:30:04 +08:00
Fix #303
This commit is contained in:
parent
116df26da3
commit
b8f2e4193d
@ -23,23 +23,25 @@ if has('mac')
|
|||||||
else
|
else
|
||||||
let g:vimfiler_quick_look_command = 'gloobus-preview'
|
let g:vimfiler_quick_look_command = 'gloobus-preview'
|
||||||
endif
|
endif
|
||||||
|
try
|
||||||
call vimfiler#custom#profile('default', 'context', {
|
call vimfiler#custom#profile('default', 'context', {
|
||||||
\ 'explorer' : 1,
|
\ 'explorer' : 1,
|
||||||
\ 'winwidth' : g:spacevim_sidebar_width,
|
\ 'winwidth' : g:spacevim_sidebar_width,
|
||||||
\ 'winminwidth' : 30,
|
\ 'winminwidth' : 30,
|
||||||
\ 'toggle' : 1,
|
\ 'toggle' : 1,
|
||||||
\ 'auto_expand': 1,
|
\ 'auto_expand': 1,
|
||||||
\ 'direction' : 'rightbelow',
|
\ 'direction' : 'rightbelow',
|
||||||
\ 'parent': 0,
|
\ 'parent': 0,
|
||||||
\ 'explorer_columns' : 'gitstatus',
|
\ 'explorer_columns' : 'gitstatus',
|
||||||
\ 'status' : 1,
|
\ 'status' : 1,
|
||||||
\ 'safe' : 0,
|
\ 'safe' : 0,
|
||||||
\ 'split' : 1,
|
\ 'split' : 1,
|
||||||
\ 'hidden': 1,
|
\ 'hidden': 1,
|
||||||
\ 'no_quit' : 1,
|
\ 'no_quit' : 1,
|
||||||
\ 'force_hide' : 0,
|
\ 'force_hide' : 0,
|
||||||
\ })
|
\ })
|
||||||
|
catch
|
||||||
|
endtry
|
||||||
augroup vfinit
|
augroup vfinit
|
||||||
au!
|
au!
|
||||||
autocmd FileType vimfiler call s:vimfilerinit()
|
autocmd FileType vimfiler call s:vimfilerinit()
|
||||||
|
Loading…
Reference in New Issue
Block a user