Keymaps
Muscle memory
Leader Keys
| Key | Role |
|---|---|
Space | Leader |
, | Local leader |
File Navigation
| Key | Action |
|---|---|
Space f f | Find files |
Space f w | Find word (grep) |
Space f r | Recent files |
Space f b | Find buffers |
Space e | Toggle file explorer |
Buffers
| Key | Action |
|---|---|
]b | Next buffer |
[b | Previous buffer |
Space b d | Delete buffer |
Space b D | Force delete buffer |
Windows
| Key | Action |
|---|---|
Ctrl h/j/k/l | Navigate windows |
Space w | Window menu |
LSP
| Key | Action |
|---|---|
gd | Go to definition |
gD | Go to declaration |
gr | References |
K | Hover documentation |
Space l a | Code actions |
Space l r | Rename symbol |
Space l f | Format |
Space l d | Buffer diagnostics |
Space l D | Workspace diagnostics |
Diagnostics (Trouble)
| Key | Action |
|---|---|
Ctrl \ | Toggle diagnostics panel |
Space l d | Buffer diagnostics |
Space l D | All diagnostics |
Space l s | Symbols outline |
Space l T | LSP references |
Inside Trouble panel:
| Key | Action |
|---|---|
j/k | Navigate items |
Enter | Jump to item |
Ctrl s | Open in split |
Ctrl v | Open in vsplit |
Tab | Toggle fold |
q | Close panel |
Git
| Key | Action |
|---|---|
Space g g | Git browse |
Space g b | Git blame line |
Space g B | Open in browser |
Space g l | Lazygit |
Space g f | File history |
Octo (GitHub)
| Key | Action |
|---|---|
Space g o | Octo menu |
Space g o i | List issues |
Space g o p | List PRs |
Space g o r | List repos |
AI (Avante)
| Key | Action |
|---|---|
Space a a | Ask AI |
Space a e | Edit with AI |
Space a r | Refresh AI |
Meta-l | Accept suggestion |
Meta-] | Next suggestion |
Meta-[ | Previous suggestion |
Claude Code
| Key | Action |
|---|---|
Ctrl , | Toggle Claude Code |
Space a c | Toggle Claude Code |
Space c C | Continue conversation |
Space c V | Verbose output |
Terminal
| Key | Action |
|---|---|
Ctrl t | Toggle terminal |
Ctrl \ | Toggle diagnostics |
Comments
| Key | Action |
|---|---|
gcc | Toggle line comment |
gc (visual) | Toggle selection comment |
gbc | Toggle block comment |
Text Objects
| Object | Description |
|---|---|
af/if | Function outer/inner |
ac/ic | Class outer/inner |
aa/ia | Parameter outer/inner |
Misc
| Key | Action |
|---|---|
Space u n | Dismiss notifications |
Space u Y | Toggle semantic tokens |
]] | Next reference |
[[ | Previous reference |