mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 14:40:04 +08:00
Update shell layer
This commit is contained in:
parent
81920749c0
commit
c10d144b0f
@ -11,9 +11,8 @@ function! SpaceVim#layers#shell#plugins() abort
|
|||||||
let plugins = []
|
let plugins = []
|
||||||
if has('nvim')
|
if has('nvim')
|
||||||
call add(plugins,['Shougo/deol.nvim'])
|
call add(plugins,['Shougo/deol.nvim'])
|
||||||
else
|
|
||||||
call add(plugins,['Shougo/vimshell.vim', { 'on_cmd':['VimShell']}])
|
|
||||||
endif
|
endif
|
||||||
|
call add(plugins,['Shougo/vimshell.vim', { 'on_cmd':['VimShell']}])
|
||||||
return plugins
|
return plugins
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
@ -75,5 +74,6 @@ function! s:open_default_shell() abort
|
|||||||
endif
|
endif
|
||||||
elseif s:default_shell ==# 'VimShell'
|
elseif s:default_shell ==# 'VimShell'
|
||||||
VimShell
|
VimShell
|
||||||
|
imap <buffer> <C-d> exit<esc><Plug>(vimshell_enter)
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user