1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

doc(layer): update :h SpaceVim-layers-lang-typescript

This commit is contained in:
Shidong Wang 2021-10-02 21:28:54 +08:00
parent 553749f5f0
commit 247b15501f
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848
2 changed files with 49 additions and 6 deletions

View File

@ -14,13 +14,35 @@
" file.
" >
" [layers]
" name = "lang#typescript"
" name = 'lang#typescript'
" <
" @subsection mappings
" @subsection key bindings
"
" The following key bindings works well in both vim and neovim.
" >
" Ket binding Description
" ----------------------------------------
" g d defintion preview
" g D jump to type definition
" SPC l d show document
" SPC l e rename symbol
" SPC l i import
" <
" The following key bindings only work in neovim.
" >
" Ket binding Description
" ----------------------------------------
" SPC l f run code fix
" SPC l p preview definition
" SPC l t view type
" SPC l R show reference
" SPC l D show errors
" SPC l o organizes imports
" <
" The following key bindings only work in vim.
" >
" Ket binding Description
" ----------------------------------------
" SPC l m interface implementations
" <
function! SpaceVim#layers#lang#typescript#plugins() abort

View File

@ -4136,14 +4136,35 @@ This layer provides typescript development support for SpaceVim. To enable
this layer, add following sinippet into SpaceVim configuration file.
>
[layers]
name = "lang#typescript"
name = 'lang#typescript'
<
MAPPINGS
KEY BINDINGS
The following key bindings works well in both vim and neovim.
>
Ket binding Description
----------------------------------------
g d defintion preview
g D jump to type definition
SPC l d show document
SPC l e rename symbol
SPC l i import
<
The following key bindings only work in neovim.
>
Ket binding Description
----------------------------------------
SPC l f run code fix
SPC l p preview definition
SPC l t view type
SPC l R show reference
SPC l D show errors
SPC l o organizes imports
<
The following key bindings only work in vim.
>
Ket binding Description
----------------------------------------
SPC l m interface implementations
<
==============================================================================