mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
Open Vimfiler windows for current project (#2546)
This commit is contained in:
parent
dc899187c3
commit
0c36a152fe
@ -1,5 +1,8 @@
|
||||
function! s:open_vimfiler() abort
|
||||
silent VimFiler
|
||||
" check if VimFiler exist, if the windows has been opened, just close the
|
||||
" vimfiler windows, if the vimfiler widnows is not exist, open vimfiler for
|
||||
" current project.
|
||||
silent exe 'VimFiler ' . get(b:, 'rootDir', '')
|
||||
doautocmd WinEnter
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user