mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:30:05 +08:00
Add more useful key bindings for typescript layer
This commit is contained in:
parent
7309a28ff1
commit
539e879b57
@ -77,10 +77,18 @@ function! s:on_ft() abort
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 't'], 'TSType',
|
||||
\ 'view type', 1)
|
||||
else
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'c'], 'TsuTypeDefinition',
|
||||
\ 'type definition', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'd'], 'TsuquyomiSignatureHelp',
|
||||
\ 'show document', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'], 'TsuquyomiRenameSymbol',
|
||||
\ 'rename symbol', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'i'], 'TsuImport',
|
||||
\ 'import', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'm'], 'TsuImplementation',
|
||||
\ 'interface implementations', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'r'], 'TsuquyomiReferences',
|
||||
\ 'references', 1)
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user