The keymap is losely based on Zed's Vim Mode and
echasnovski/nvim.
| Command | Shortcut | Plugin |
|---|---|---|
| Hover symbol | K | |
| Go to definition | gd | |
| Go to declaration | gD | |
| Go to implementation | gi | |
| Go to type definition | go | |
| Go to references | gr | |
| Signature help | gs | |
| Show code actions | g. | |
| Jump to context | gk | nvim-treesitter-context |
| Rename | cd or F2 | |
| Next Reference | ]] | snacks.words |
| Previous Reference | [[ | snacks.words |
| Format | F3 |
| Command | Shortcut | Plugin |
|---|---|---|
| Trigger completion / Toggle documentation | Ctrl+Space | blink.cmp |
| Hide | Ctrl+h | blink.cmp |
| Previous | Ctrl+j | blink.cmp |
| Next | Ctrl+k | blink.cmp |
| Accept | Ctrl+l | blink.cmp |
| Scroll documation up | Ctrl+u | blink.cmp |
| Scroll documation down | Ctrl+d | blink.cmp |
| Toggle signature | Ctrl+s | blink.cmp |
| Command | Shortcut | Plugin |
|---|---|---|
| Evaluate text region | g= | mini.operator |
| Exchange text regions | gx | mini.operator |
| Multiply text regions | gm | mini.operator |
| Replace text region with register | gr | mini.operator |
| Sort text region | gs | mini.operator |
| Command | Shortcut | Plugin |
|---|---|---|
| Go to next diagnostic | ]d | |
| Go to previous diagnostic | [d | |
| Hover diagnostic | gh | |
| Open diagnostics | SPACEed | folke/trouble.nvim |
| Open buffer diagnostics | SPACEeD | folke/trouble.nvim |
| Command | Shortcut | Plugin |
|---|---|---|
| Go to next hunk | ]h | mini.diff |
| Go to last hunk | ]H | mini.diff |
| Go to previous hunk | [h | mini.diff |
| Go to first hunk | [H | mini.diff |
| Reset hunk | gH | mini.diff |
| Text Objects | Shortcut | Plugin |
|---|---|---|
| Hunk | gh | mini.diff |
| Command | Shortcut | Plugin |
|---|---|---|
| Open directory | SPACEee | mini.files |
| Open file directory | SPACEef | mini.files |
| Open config directory | SPACEec | mini.files |
| Open diagnostics | SPACEed | folke/trouble.nvim |
| Open buffer diagnostics | SPACEeD | folke/trouble.nvim |
| Open symbols | SPACEes | folke/trouble.nvim |
