mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
Add key binding to javascript layer
Add key binding to generate JSDoc annotation
This commit is contained in:
parent
75d5d91cfa
commit
0dfac6af19
@ -133,6 +133,11 @@ function! s:on_ft() abort
|
||||
\ 'rename symbol', 1)
|
||||
endif
|
||||
|
||||
let g:_spacevim_mappings_space.l.g = {'name' : '+Generate'}
|
||||
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'g', 'd'], 'JsDoc',
|
||||
\ 'generate JSDoc', 1)
|
||||
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'r'],
|
||||
\ 'call SpaceVim#plugins#runner#open()', 'execute current file', 1)
|
||||
endfunction
|
||||
|
Loading…
x
Reference in New Issue
Block a user