To change any of these, see Keybindings.
| Keys | Action |
|---|
| ⌘, | Settings |
| ⌘O | Add a project folder |
| ⌘1–⌘9, ⌥⌘↑ ⌥⌘↓ | Switch project |
| ⌘T | New terminal |
| ⇧⌘T | Start your default agent (the first detected one, unless you set agents.default) |
| ⌘J | Jump to the agent waiting for your answer, then one that's done (or the next agent) |
| ⇧⌘I | Context details: what fills the agent's context window (toggles the Session panel when it's on) |
| ⌘= ⌘- ⌘0 | Font size: bigger, smaller, back to your setting |
| Keys | Action |
|---|
| ⌘C ⌘V ⌘K ⌘A | Copy, paste, clear, select all |
| ⇧↵ | Newline in agent prompts (sends ESC CR) |
| Keys | Action |
|---|
| Esc or ↵ | Skip to the window |
| Keys | Action |
|---|
| ⌘D / ⇧⌘D | Split right / down |
| ⌘W | Close tab |
| ⌘[ / ⌘] | Previous / next pane |
| ⇧⌘[ / ⇧⌘], ⌃Tab | Previous / next tab |
| ⌘B | Toggle the sessions sidebar |
| Keys | Action |
|---|
| ⇧⌘G | Toggle Source Control |
| ⇧⌘E | Toggle Files |
| ⇧⌘F | Search in files (fills the box with the editor's selection) |
| ⇧⌘H | Replace in files |
| ⇧⌘N | Toggle Notes |
| ⌘P | Go to file |
| ⌘E | Open files: jump to, or close, a tab open in the project |
| ⇧⌘P | Command palette: every command in the app |
| Type or press | Action |
|---|
name:42 in ⌘P | Open the file at line 42 |
edt in ⌘P | Switch to the open files list (⌘E) |
> in ⌘P | Switch to commands (⇧⌘P); delete it to go back to files |
| ↵ in the open files list | Jump to the tab |
| ⌘W in the open files list | Close the tab without leaving the list |
| Keys | Action |
|---|
| ⌘↵ | Commit |
| ↵ | Add a line |
| Keys | Action |
|---|
| ⌘S | Save |
| ⌘Z / ⇧⌘Z | Undo / redo |
| ⌘/ | Toggle comments |
| ⌥↑ / ⌥↓ | Move lines up / down |
| ⇧⌥↓ | Duplicate lines |
| ⌘L | Select the line |
| Tab / ⇧Tab | Indent / outdent |
| Keys | Action |
|---|
| ⌘F / ⌥⌘F | Find / replace |
| ↵ / ⇧↵, or ⌘G / ⇧⌘G | Next / previous match |
| ⌥⌘↵ | Replace all |
| ⌥⌘C | Toggle match case |
| ⌥⌘W | Toggle whole word |
| ⌥⌘R | Toggle regular expression |
| Keys | Action |
|---|
| ↑ ↓ | Move |
| ← → | Collapse / expand |
| ↵ | Open |
| Space | Open without leaving the tree |
| F2 | Rename |
| ⌘⌫ | Move to Trash |
| ⌥⌘C | Copy path |
| ⇧⌥⌘C | Copy relative path |
| Type a name | Jump to the next name starting with what you typed |
| Keys | Action |
|---|
| ⌥⌘C | Toggle match case |
| ⌥⌘W | Toggle whole word |
| ⌥⌘R | Toggle regular expression |
| ⇧⌘J | Show files to include and files to exclude |
| Tab | Move between the boxes |
| ⌥⌘↵ | Replace all, after a confirmation |
| ↓ | From a box, move into the results |
| ↑ ↓ | Move through the results |
| ← → | Fold or unfold files |
| ↵ | Open |
| Space | Preview |
| ⌫ | Dismiss a result |
| ⌘C | Copy |
| Keys | Action |
|---|
| ↵ | Resume the top match |
| Esc | Clear the search, then close the box |
| Keys | Action |
|---|
/ | List every kind of block |
| ↵ | Add a block |
| ⌫ | At the start of a block, join it to the one above |
| Tab / ⇧Tab | Indent / outdent |
| ⌘↵ | Check a to-do off |
| ⇧⌘↑ / ⇧⌘↓ | Move the block up / down |
| ⌘Z / ⇧⌘Z or ⌘Y | Undo / redo |
| ⇧⌘↵ | Send to agent: the selection, or the whole block you're in |
| Keys | Action |
|---|
| ⇧↑ / ⇧↓, Esc, or ⌘A twice | Select whole blocks. You can also drag from one block into another, or ⇧-click. |
| Keys | Action |
|---|
| ⌫ | Delete them |
| ⌘C / ⌘X / ⌘V | Copy, cut and paste them as markdown |
| Tab / ⇧Tab | Indent / outdent |
| ⌘↵ | Check the to-dos off |
| ⇧⌘↑ / ⇧⌘↓ | Move them up / down |
| ⌘D | Duplicate them |
| ↵ | Go back to editing |
| Keys | Action |
|---|
| ↑ ↓, ↵ | Pick in a select box |
| Esc | Close a select box |