Coding
| Command | Action |
|---|---|
| K | preview type |
| g T | go to type definition |
| g I | go to implementation |
| g d | go to definition |
| ctrl o | go back |
| g L(small) | show message |
| leader L(s) a | code action |
| :w | save |
| :wa | save all open buffers |
| Command | Action |
|---|---|
| leader S s | save |
| leader S f | find session |
| Command | Action |
|---|---|
| z m | fold all |
| z r | unfold all |
Terminal
| Command | Action |
|---|---|
| F7 | open terminal |
| 2 F7 | open second terminal |
Neotree
| Command | Action |
|---|---|
| leader o | toggle tree |
| ? | show mappings |
| a | new file |
| H | toggle hidden |
| r | rename |
| d | delete |
| < / > | Go through tabs |
Telescope
| Command | Action |
|---|---|
| leader f f | search |
| ctrl j / k | up down |
| ctrl d / u | up down in preview |
| esc | exit insert mode |
| esc -> ? | show mappings |
Buffers
| Command | Action |
|---|---|
| leader n | new buffer |
| leader c | close buffer |
| [/] b | buffer to left / right |
| \ | horz split |
| \ | vert split |
| ctrl q | close |
| ctrl j / k | up down |
| leader w + (< > + -) | resize buffer |
Git
| Command | Action |
|---|---|
| leader g g | lazy git |
| n | new branch |
| p | pull |
| f | fetch |
| space | checkout |
| q | close |