You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
## LSP
|
|
|
|
Get type definition | <space>D
|
|
|
|
Rename symbol | <space>rn
|
|
|
|
Code action | <space>ca
|
|
|
|
Find references | gr
|
|
|
|
Format file | <space>f
|
|
|
|
Goto declaration | gD
|
|
|
|
Goto definition | gd
|
|
|
|
Toggle hover over symbol | K
|
|
|
|
Goto implementation | gi
|
|
|
|
Get signature | <C-k>
|
|
|
|
Add folder to workspace | <space>wa
|
|
|
|
Remove folder from workspace | <space>wr
|
|
|
|
List workspace folders | <space>wl
|
|
|
|
|
|
|
|
## Gitsigns
|
|
|
|
Toggle deleted | <leader>td
|
|
|
|
Diff | <leader>hd
|
|
|
|
Preview hunk | <leader>hp
|
|
|
|
Reset hunk | <leader>hr
|
|
|
|
|
|
|
|
## Comment
|
|
|
|
Line (normal & visual mode )| gc
|
|
|
|
Block (normal & visual mode) | gb
|
|
|
|
At the end of a line | gcA
|
|
|
|
|
|
|
|
## Surround
|
|
|
|
With () | ysiw)
|
|
|
|
With "" | ys$"
|
|
|
|
Del [] | ds]
|
|
|
|
Del HTML | dst
|
|
|
|
'' -> "" & "" -> '' | cs'"
|
|
|
|
Change HTML tag to [TAG] | cst[TAG]<CR>
|
|
|
|
Del () in fn call; fn(param) -> param | dsf
|
|
|
|
|
|
|
|
## Dial
|
|
|
|
Increment | <C-a>
|
|
|
|
Decrement | <C-x>
|
|
|
|
|
|
|
|
## Misc
|
|
|
|
Outline | <leader>o
|
|
|
|
Trouble | <leader>xx
|
|
|
|
Find in project | <leader>f
|
|
|
|
Open filetree | <leader>v
|
|
|
|
Edit luaconfig | <leader>ec
|
|
|
|
Source luaconfig | <leader>sc
|
|
|
|
Open diagnostic info in floating window |<leader>dd
|