Keyboard shortcuts and keymapsBring your hands with you.
Kami’s defaults follow IntelliJ on macOS, with presets for IntelliJ and VS Code muscle memory and your own bindings on top. Every change applies the moment you save. Hold ⌘ ⌥ ⇧ or ⌃ to see what each one does.
- ⌘KCommand palette
- ⇧⇧Search everywhere
- ⇧⌘FSearch in workspace
- ⌘BGo to definition
- ⌥F7Find usages
- ⇧F6Rename
- ⌥↵Quick fixes
- ⌃SpaceCompletions
- ⌘F12File structure
- ⌥⌘LReformat code
- ⌥↑Expand selection
- ⌃GAdd next occurrence
- ⌥⇧↑Move line up
- ⌘\Split the editor
- ⌃⌘ZZen mode
- ⌘ERecent files
- ⌃TRefactor this
- ⌘DDiff against HEAD
- ⌥⌘BBlame
- ⌃⇧BBranches
- ⇧⌘KPush
- ⌃`Terminal
- F5Debug
- ⌘RRerun last task
The whole keymap.
The default preset. The Keymap tab in Settings (⌘,) lists the same bindings, marks conflicts, searches by action or by key, and records a new shortcut when you press it.
Workspace
- Command palette
- ⌘K
- Search everywhere
- ⇧⇧
- File tree
- ⌘1
- Problems
- ⌘3
- Git log
- ⌘4
- TODOs
- ⌘5
- Git view
- ⌥⌘Gor⌘2
- Database view
- ⌥⌘T
- API view
- ⌥⌘E
- Code Review view
- ⌥⌘R
- Browser panel
- ⌥⌘W
- Terminal
- ⌃`or⌘J
- AI panel
- ⌥⌘A
- Local history
- ⇧⌥C
- Settings
- ⌘,
- Open folder
- ⌥⌘O
- Zen mode
- ⌃⌘Z
Files, tabs and splits
- New file
- ⌘N
- New scratch file
- ⇧⌘N
- Save
- ⌘S
- Close tab
- ⌘W
- Recent files
- ⌘E
- Recent locations
- ⇧⌘E
- Switch between open files
- ⌃⇥
- Split right
- ⌘\
- Split down
- ⇧⌘\
- Next pane
- ⌥⇥
- Move file
- F6
- Rename in the file tree
- ⇧F6
- Jump to a name in the file tree
- Just type
- Markdown preview
- ⇧⌘V
- Code, mixed or preview
- ⌃⌘1–⌃⌘3
Editing
- Comment line
- ⌘/or⌘7
- Duplicate line
- ⇧⌘D
- Delete line
- ⌘⌫
- Line start / end
- ⌘←/⌘→
- Move line up
- ⌥⇧↑
- Move line down
- ⌥⇧↓
- Expand selection
- ⌥↑
- Shrink selection
- ⌥↓
- Add next occurrence
- ⌃G
- Select all occurrences
- ⌃⌘G
- Fold
- ⌥⌘[
- Unfold
- ⌥⌘]
- Fold all
- ⇧⌥⌘[
- Unfold all
- ⇧⌥⌘]
- Clipboard history
- ⇧⌥⌘V
- AI completion
- ⇧⌥\
- Inline AI prompt
- ⌥⌘\
Code intelligence
- Completions
- ⌃Space
- Quick documentation
- ⌘I
- Parameter info
- ⌘P
- Quick fixes
- ⌥↵
- Rename
- ⇧F6
- Reformat code
- ⌥⌘L
- Reformat with options
- ⇧⌥⌘L
- Auto-indent lines
- ⌃⌥I
- Refactor this
- ⌃T
- Extract variable
- ⌥⌘V
- Extract method
- ⌥⌘M
- Inline
- ⌥⌘N
- Optimize imports
- ⌃⌥O
- Call hierarchy
- ⌃⌥H
- Type hierarchy
- ⌃H
- Highlight usages in file
- ⇧⌘F7
Find and search
- Find
- ⌘F
- Find and replace
- ⌥⌘F
- Next match
- ⌘G
- Previous match
- ⇧⌘G
- Replace / replace all
- ⌥↵/⌘↵
- Search in workspace
- ⇧⌘F
- Replace in files
- ⇧⌘R
- Match case
- ⌥C
- Whole words
- ⌥W
- Regex
- ⌥X
Git
- Diff against HEAD
- ⌘D
- Side-by-side diff
- ⌥⌘D
- Push
- ⇧⌘K
- Pull (Update Project)
- ⌘T
- Branches
- ⌃⇧B
- Blame
- ⌥⌘B
- Stage selection
- ⌥⌘S
- Unstage selection
- ⌥⌘U
- Next change
- ⌥⌘↓
- Previous change
- ⌥⌘↑
- Commit
- ⌘↵
- Find in the graph
- ⌘F
Code reviewin the Code Review view
- Next / previous PR or file
- JorK
- Open the PR
- ↵
- Filter the queue
- /
- Refresh
- R
- Snooze
- S
- Merge from the queue
- M
- Next / previous file
- ]or[
- Next / previous thread
- Nor⇧N
- Next / previous change
- ⌥⌘↓or⌥⌘↑
- Mark file viewed
- V
- Hide viewed files
- H
- Comment on selection
- C
- Post a comment or reply
- ⌘↵
- Submit the review
- ⇧⌘↵
- Next / previous PR in a stack
- ⇧Jor⇧K
- Back to the queue
- ⎋
- Every key
- ?
Run and debug
- Rerun last task
- ⌘R
- Debug, or continue
- F5
- Stop
- ⇧F5
- Restart
- ⇧⌘F5
- Pause
- ⌥⌘P
- Step over
- F8
- Step into
- F7
- Step out
- ⇧F8
- Run to cursor
- ⌥F9
- Toggle breakpoint
- ⌘F8
- Breakpoint condition
- ⇧⌘F8
- Run test at caret
- ⌃⇧R
- Debug test at caret
- ⌃⇧D
- Coverage reports
- ⌥⌘F6
APIin the API view
- API view
- ⌥⌘E
- Send the request
- ⌘↵
- Confirm a dialog
- ⌘↵
- Close a dialog
- ⎋
Databasein the Database view
- Run statement
- ⌘↵
- Run script
- ⇧⌘↵
- Cancel query
- ⌘.
- Refresh sources
- ⇧⌘R
- Copy selected cells
- ⌘C
- Select all cells
- ⌘A
Claude
- Claude panel
- ⌥⌘C
- Claude full view
- ⇧⌥⌘C
- Send selection to Claude
- ⌥⌘K
- Claude in the terminal
- ⌘⎋
- Send prompt
- ↵
- New line in prompt
- ⇧↵
- Interrupt
- ⎋
- Cycle permission mode
- ⇧⇥
- Accept edit
- ⌘↵or⌘S
- Reject edit
- ⌘⌫
- Reject hunk
- ⌥⌘N
Browserwith the Browser panel focused
- Address bar
- ⌘L
- New tab
- ⌘T
- Back
- ⌘[
- Forward
- ⌘]
- Reload
- ⌘R
- Find in page
- ⌘F
- Zoom in / out / reset
- ⌘=/⌘-/⌘0
- DevTools
- ⌥⌘I
- Close tab
- Unbound; ⌘W stays the editor’s
Terminalwith the terminal focused
- Clear
- ⌘K
- New tab
- ⌘T
- Copy selection
- ⌘C
- Search the scrollback
- ⌘F
Presets, and your own.
A preset changes only the bindings below; everything else stays as above. Pick one in Settings, then add your own overrides in the same file. The last binding wins.
| Action | Default | IntelliJ | VS Code |
|---|---|---|---|
| Command palette | ⌘K | ⌘Kor⌘Oor⇧⌘O | ⌘Kor⌘Por⇧⌘P |
| Go to definition | ⌘B | ⌘B | ⌘BorF12 |
| Go to implementation | ⇧⌥⌘B | ⌥⌘B | ⇧⌥⌘Bor⌘F12 |
| Go to symbol | ⇧⌥⌘O | ⌥⌘O | ⇧⌥⌘O |
| Open folder | ⌥⌘O | ⇧⌥⌘O | ⌥⌘O |
| File structure | ⌘F12 | ⌘F12 | ⇧⌘O |
| Parameter info | ⌘P | ⌘P | ⇧⌘Space |
| Rename | ⇧F6 | ⇧F6 | ⇧F6orF2 |
| Next / previous problem | F2/⇧F2 | F2/⇧F2 | ⌥F8/⇧⌥F8 |
| Quick fixes | ⌥↵ | ⌥↵ | ⌥↵or⌘. |
| Duplicate line | ⇧⌘D | ⌘D | ⇧⌥↓ |
| Add next occurrence | ⌃G | ⌃G | ⌘D |
| Select all occurrences | ⌃⌘G | ⌃⌘G | ⇧⌘L |
| Diff against HEAD | ⌘D | ⇧⌘D | ⌘D |
| Fold / unfold | ⌥⌘[/⌥⌘] | ⌘-/⌘= | ⌥⌘[/⌥⌘] |
| Fold all / unfold all | ⇧⌥⌘[/⇧⌥⌘] | ⇧⌘-/⇧⌘= | ⇧⌥⌘[/⇧⌥⌘] |
| Git view | ⌘2 | ⌘2or⌘9 | ⌘2or⌃⇧G |
| File tree | ⌘1 | ⌘1 | ⌘1or⇧⌘E |
| Call hierarchy | ⌃⌥H | ⌃⌥H | ⇧⌥H |
| Optimize imports | ⌃⌥O | ⌃⌥O | ⇧⌥O |
| Rename in the file tree | ⇧F6 | ⇧F6 | ⇧F6orF2 |
| Replace in files | ⇧⌘R | ⇧⌘R | ⇧⌘Ror⇧⌘H |
| Toggle breakpoint | ⌘F8 | ⌘F8 | ⌘F8orF9 |
| Pause | ⌥⌘P | ⌥⌘P | ⌥⌘PorF6 |
While the editor has focus, its own keys come first. Under VS Code, ⌘D adds the next occurrence there, so the diff takes that key everywhere else; ⌘P opens the palette everywhere, the editor included; ⌘F12 goes to the implementation in the editor and lists the file’s structure elsewhere; F6 pauses the debugger rather than moving the file; ⇧⌥↓ duplicates rather than moves a line, and ⇧⌘E opens the file tree instead of Recent locations. Under IntelliJ, ⇧⌘D duplicates in the editor and diffs everywhere else, and Blame moves to ⇧⌥⌘B in the editor while ⌥⌘B goes to the implementation.
// ~/.config/kami/settings.json { "keymap": "intellij", // "default" | "intellij" | "vscode" "keybindings": [ // your overrides, applied last { "key": "cmd-t", "action": "palette.toggle" } ] }