mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:30:03 +08:00
Add key binding desc for SPC '
This commit is contained in:
parent
fa819c285b
commit
7a7eb1a922
@ -17,11 +17,18 @@ function! SpaceVim#layers#shell#plugins() abort
|
|||||||
return plugins
|
return plugins
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
let s:file = expand('<sfile>:~')
|
||||||
|
let s:lnum = expand('<slnum>') + 2
|
||||||
function! SpaceVim#layers#shell#config() abort
|
function! SpaceVim#layers#shell#config() abort
|
||||||
|
|
||||||
call SpaceVim#mapping#space#def('nnoremap', ["'"], 'call call('
|
call SpaceVim#mapping#space#def('nnoremap', ["'"], 'call call('
|
||||||
\ . string(function('s:open_default_shell')) . ', [])',
|
\ . string(function('s:open_default_shell')) . ', [])',
|
||||||
\ 'open shell', 1)
|
\ ['open shell',
|
||||||
|
\ [
|
||||||
|
\ "[SPC '] is to open or jump to default shell window",
|
||||||
|
\ '',
|
||||||
|
\ 'Definition: ' . s:file . ':' . s:lnum,
|
||||||
|
\ ]
|
||||||
|
\ ], 1)
|
||||||
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user