mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
Fix filemanager option
This commit is contained in:
parent
d1115d3cc6
commit
616b24f3f6
@ -55,7 +55,9 @@ function! SpaceVim#layers#tools#config() abort
|
|||||||
function! OpenOrCloseNERDTree() abort
|
function! OpenOrCloseNERDTree() abort
|
||||||
exec 'normal! A'
|
exec 'normal! A'
|
||||||
endfunction
|
endfunction
|
||||||
noremap <silent> <F9> :NERDTreeToggle<CR>
|
if g:spacevim_filemanager ==# 'nerdtree'
|
||||||
|
noremap <silent> <F3> :NERDTreeToggle<CR>
|
||||||
|
endif
|
||||||
let g:NERDTreeWinPos='right'
|
let g:NERDTreeWinPos='right'
|
||||||
let g:NERDTreeWinSize=31
|
let g:NERDTreeWinSize=31
|
||||||
let g:NERDTreeChDirMode=1
|
let g:NERDTreeChDirMode=1
|
||||||
|
@ -50,7 +50,6 @@ function! SpaceVim#layers#unite#plugins() abort
|
|||||||
\ ['voi/unite-ctags'],
|
\ ['voi/unite-ctags'],
|
||||||
\ ['Shougo/unite-session'],
|
\ ['Shougo/unite-session'],
|
||||||
\ ['osyo-manga/unite-quickfix'],
|
\ ['osyo-manga/unite-quickfix'],
|
||||||
\ ['Shougo/vimfiler.vim',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
|
||||||
\ ['ujihisa/unite-colorscheme'],
|
\ ['ujihisa/unite-colorscheme'],
|
||||||
\ ['mattn/unite-gist'],
|
\ ['mattn/unite-gist'],
|
||||||
\ ['tacroe/unite-mark'],
|
\ ['tacroe/unite-mark'],
|
||||||
@ -71,6 +70,10 @@ function! SpaceVim#layers#unite#plugins() abort
|
|||||||
call add(plugins, ['mopp/googlesuggest-source.vim'])
|
call add(plugins, ['mopp/googlesuggest-source.vim'])
|
||||||
call add(plugins, ['mattn/googlesuggest-complete-vim'])
|
call add(plugins, ['mattn/googlesuggest-complete-vim'])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if g:spacevim_filemanager ==# 'vimfiler'
|
||||||
|
call add(plugins, ['Shougo/vimfiler.vim',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}])
|
||||||
|
endif
|
||||||
return plugins
|
return plugins
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user