mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-15 08:09:11 +08:00
feat(mapping): add help description for SPC f s
This commit is contained in:
parent
a84aa78836
commit
c8c232f4a1
@ -143,9 +143,16 @@ function! SpaceVim#layers#core#config() abort
|
||||
nnoremap <silent> [p P
|
||||
nnoremap <silent> ]p p
|
||||
|
||||
let lnum = expand('<slnum>') + s:lnum - 1
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['f', 's'], 'call call('
|
||||
\ . string(s:_function('s:save_current_file')) . ', [])',
|
||||
\ 'save-current-file', 1)
|
||||
\ ['save-current-file',
|
||||
\ ['[SPC f s] is to save current file',
|
||||
\ '',
|
||||
\ 'Definition: ' . s:filename . ':' . lnum,
|
||||
\ ]
|
||||
\ ]
|
||||
\ , 1)
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['f', 'a'], 'call call('
|
||||
\ . string(s:_function('s:save_as_new_file')) . ', [])',
|
||||
\ 'save-as-new-file', 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user