This is a draft cheat sheet. It is a work in progress and is not finished yet.
Files
<leader>pv |
n |
Open file explorer |
<leader>pf |
n |
Find file - all |
C-p |
n |
Find file - only git |
Autocomplete
C-space |
i |
Open autocomplete |
C-n |
i |
Next item autocomplete |
C-p |
i |
Previous item autocomplete |
C-y |
i |
Select item autocomplete |
LSP
gd |
n |
Go to definition |
K |
n |
Display info |
<leader>vrr |
n |
Find references |
<leader>vrn |
n |
Rename |
Code folding
za |
n |
Toggle fold on cursor |
zR |
n |
Open all folds |
zM |
n |
Close all open folds |
|
|
Text manipulation
p |
n |
Paste text |
y |
v |
Copy |
<leader>y |
v |
Copy to system clipboard |
d |
n,v |
Cut |
<leader>d |
m,v |
Delete |
<leader>a |
n |
Select All |
<leader>s |
n |
Find and replace |
Windows management
C-w s |
Split Window |
C-w w |
Cycle through windows |
C-w j |
Next window |
C-w k |
Previous window |
C-w q |
Close window |
<leader>r |
Resize the current windows to 20 |
Misc
<leader>e |
n |
Show the error in a window |
<leader>mr |
n |
Make it rain |
<leader>t |
n |
Open terminal |
|