1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-13 14:49:11 +08:00

Fix filemanager option

This commit is contained in:
wsdjeg 2017-03-09 21:17:53 +08:00
parent d1115d3cc6
commit 616b24f3f6
2 changed files with 7 additions and 2 deletions

View File

@ -55,7 +55,9 @@ function! SpaceVim#layers#tools#config() abort
function! OpenOrCloseNERDTree() abort
exec 'normal! A'
endfunction
noremap <silent> <F9> :NERDTreeToggle<CR>
if g:spacevim_filemanager ==# 'nerdtree'
noremap <silent> <F3> :NERDTreeToggle<CR>
endif
let g:NERDTreeWinPos='right'
let g:NERDTreeWinSize=31
let g:NERDTreeChDirMode=1

View File

@ -50,7 +50,6 @@ function! SpaceVim#layers#unite#plugins() abort
\ ['voi/unite-ctags'],
\ ['Shougo/unite-session'],
\ ['osyo-manga/unite-quickfix'],
\ ['Shougo/vimfiler.vim',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
\ ['ujihisa/unite-colorscheme'],
\ ['mattn/unite-gist'],
\ ['tacroe/unite-mark'],
@ -71,6 +70,10 @@ function! SpaceVim#layers#unite#plugins() abort
call add(plugins, ['mopp/googlesuggest-source.vim'])
call add(plugins, ['mattn/googlesuggest-complete-vim'])
endif
if g:spacevim_filemanager ==# 'vimfiler'
call add(plugins, ['Shougo/vimfiler.vim',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}])
endif
return plugins
endfunction