mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 23:10:04 +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
|
||||
endfunction
|
||||
|
||||
let s:file = expand('<sfile>:~')
|
||||
let s:lnum = expand('<slnum>') + 2
|
||||
function! SpaceVim#layers#shell#config() abort
|
||||
|
||||
call SpaceVim#mapping#space#def('nnoremap', ["'"], 'call call('
|
||||
\ . 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user