The default keys follow T3 Code's, so they'll feel familiar if you come from it. Settings → Keybindings lists every one, searchable, with where it comes from. You can change any of them in keybindings.json (below).
"When" says where a key works: in the composer, in a terminal, and so on. Keys marked "not in a terminal" go to the terminal instead while it has the keyboard.
The app
| Keys | Command | What it does | When |
|---|---|---|---|
| ⌘K | commandPalette.toggle | Search threads, projects and commands | Not in a terminal |
| ⌘, | settings.open | Open Settings | |
| Esc | modal.close | Close the palette, a sheet or Settings | |
| ⌘B | sidebar.toggle | Show or hide the sidebar | |
| ⌥⌘B | rightPanel.toggle | Show or hide the right panel | |
| ⌘J | terminal.toggle | Show or hide the terminal | |
| ⌥⌘V | call.toggle | Call the open thread or your bot, or hang up (Voice calls) | |
| hold fn | Dictate in any app; with ⌃, ask your bot. Tap twice for hands-free (Dictate anywhere). The key is picked in Settings → Voice, not keybindings.json | ||
| ⌃⌘V | Paste the last dictation, in any app (Dictate anywhere) | ||
| ⌃⌥⌘. | Stop an agent that's using this Mac, from any app, with the pill on (Computer use) | ||
| ⇧⌘B | threadPanel.toggle | Show or hide the open thread's details | Not in a terminal |
| ⌘U | usage.open | Open the Usage page: cost, tokens and limits | Not in a terminal |
| ⌥⌘A | theme.select | Change the theme | Not in a terminal |
| ⌥⇧⌘A | appearance.cycle | Switch between light and dark | Not in a terminal |
| ⌘[ | navigation.back | Go back | Not in a terminal |
| ⌘] | navigation.forward | Go forward | Not in a terminal |
| F6, ⌘F6 | workspace.focusNext | Move the keyboard to the next area | |
| ⇧F6, ⇧⌘F6 | workspace.focusPrevious | Move the keyboard to the previous area | |
| ⌘Q | app.quit | Quit Caret | |
| ⌘H | app.hide | Hide Caret | |
| ⌥⌘H | app.hideOthers | Hide other apps | |
| ⌘M | window.minimize | Minimize the window |
Threads
| Keys | Command | What it does | When |
|---|---|---|---|
| ⌘N, ⇧⌘O | chat.new | Start a new thread | Not in a terminal |
| ⇧⌘N | chat.newLocal | A new thread in the current project, without asking which | Not in a terminal |
| ⌥⌘N | chat.newWithoutProject | A new thread without a project, in a scratch folder | Not in a terminal |
| ⇧⌘] | thread.next | Open the next thread in the sidebar | |
| ⇧⌘[ | thread.previous | Open the previous thread in the sidebar | |
| ⌘1 … ⌘9 | thread.jump.1 … thread.jump.9 | Open the sidebar's first to ninth thread | Model picker closed |
| ⌘F | chat.find | Find in the open thread (in the Review tab, the changes) | Not in a terminal or the file editor |
| ⇧⌘S | thread.settle | Mark the open thread done, or not done | Not in a terminal |
| ⇧⌘P | thread.pin | Pin the open thread (in a picker: the highlighted project) | Not in a terminal |
| ⇧⌘C | thread.copyReference | Copy the open thread's link | Not in a terminal |
| ⌘Z | thread.undo | Take back the last pin, done, snooze or archive | Not in a text field |
| ⇧⌘K | pullRequest.copyNumber | Copy the thread's pull request number | Not in a terminal |
The sidebar's list
These work once the keyboard is in the thread list (press F6 to get there).
| Keys | Command | What it does |
|---|---|---|
| ↑, ↓ | threadList.up, threadList.down | The thread above or below |
| Enter | threadList.open | Open the thread |
| F2 | threadList.rename | Rename the thread |
| ←, → | threadList.fold, threadList.unfold | Fold or unfold the shelf |
| ⇧F10 | threadList.menu | The row's menu, from the keyboard |
| Esc | threadList.leave | Back to the composer |
The composer
| Keys | Command | What it does | When |
|---|---|---|---|
| Enter | composer.send | Send (or a new line, when ⌘↩ sends) | In the composer |
| ⇧Enter | composer.newline | A new line | In the composer |
| ⌘↩ | composer.sendAlternate | Send; while the agent works, the other of Steer and Queue; in a draft, start it in the background | In the composer |
| ⌥⌘↩ | composer.sendAndNewThread | Send, then start a new thread (in a draft: start it in the background) | In the composer |
| ⇧⌘↩ | thread.steerQueuedMessage | Send the first queued message now | Not in a terminal |
| ⌥↑ | thread.editQueuedMessage | Edit the last queued message | In the composer |
| ⇧Tab | composer.togglePlan | Plan the next message, or not (outside a list) | In the composer |
| ⌘S | composer.stash | Stash the draft, to bring it back later | In the composer |
| ⇧⌘V | composer.pastePlain | Paste as text, however long | In the composer |
| ⇧⌘M | modelPicker.toggle | Pick the agent, model and effort | Not in a terminal |
| ⇧⌘E | composer.effort | Pick the effort (and Fast) | Not in a terminal |
| ⇧⌘A | composer.mode | Pick the permission mode | Not in a terminal |
| ⇧⌘H | composer.host | Pick the machine a new thread runs on | Not in a terminal |
| ⇧⌘X | composer.workspace | A new thread in the checkout, or in a new worktree | Not in a terminal |
| ⇧⌘G | composer.branch | The branch a new thread works on, or a new worktree starts from | Not in a terminal |
| ⇧⌘L | composer.previousWorktree | A new thread in the worktree the project's threads last used | Not in a terminal |
In the open model picker:
| Keys | Command | What it does |
|---|---|---|
| ⌘1 … ⌘9 | modelPicker.jump.1 … modelPicker.jump.9 | The picker's first to ninth row |
| ⇧⌘↑, ⇧⌘↓ | modelPicker.previousProvider, modelPicker.nextProvider | The model above or below |
Files and search
| Keys | Command | What it does | When |
|---|---|---|---|
| ⌘P | filePicker.toggle | Go to a file in the project | Not in a terminal |
| ⇧⌘F | projectSearch.toggle | Search the project, with replace | Not in a terminal |
| ⌘O | editor.openFavorite | Open the file on show, or the project, in your editor | Not in a terminal |
| ⌘S | editor.save | Save the file (it also saves by itself) | In the file editor |
| ⌘L | editor.goToLine | Go to a line in the file | In the file editor |
| ⌥⌘/ | editor.commentOnLines | Comment on the selected lines, a chip in the composer | In the file editor |
| ⌘W | editor.close | Close the file's tab | In the file editor |
The right panel
| Keys | Command | What it does | When |
|---|---|---|---|
| ⌘D | diff.toggle | Show the latest turn's changes in Review, or hide them | Not in a terminal |
| ⌘T | rightPanel.new | A new tab in the right panel (over a Browser tab, another Browser tab) | Not in a terminal |
| ⌘W | rightPanel.close | Close the right panel's tab | Not in a terminal |
| ⇧⌘T | view.reopenClosed | Open the last closed tab again | |
| ⇧⌘J | preview.toggle | Show the Browser, or hide it |
The Browser
These work while the Browser has the keyboard.
| Keys | Command | What it does |
|---|---|---|
| ⌘R | preview.refresh | Load the page again |
| ⌘. | preview.stop | Stop loading the page |
| ⌘[, ⌘] | preview.back, preview.forward | Back or forward a page |
| ⌘L | preview.focusUrl | Put the keyboard in the address bar |
| ⌘=, ⌘+ | preview.zoomIn | Zoom the page in |
| ⌘- | preview.zoomOut | Zoom the page out |
| ⌘0 | preview.resetZoom | The page at 100% |
| ⇧⌘M | preview.toggleDevice | Device sizes on or off |
| ⌥⌘S | preview.screenshot | A screenshot for the composer: drag for part of the page, or click for all |
| ⌥⌘C | preview.pickElement | Pick an element on the page for the composer |
The terminal
These work while a terminal has the keyboard.
| Keys | Command | What it does |
|---|---|---|
| Esc | terminal.escape | Escape goes to the program, not the app |
| ⌘C | terminal.copy | Copy the terminal's selection |
| ⌘V | terminal.paste | Paste into the terminal |
| ⌘A | terminal.selectAll | Select everything in the terminal |
| ⌘K | terminal.clear | Clear the terminal |
| ⌘D | terminal.split | Split the terminal side by side |
| ⇧⌘D | terminal.splitVertical | Split the terminal, one above the other |
| ⌘N | terminal.new | A new terminal in the drawer |
| ⌘W | terminal.close | Close the terminal (asking first if something runs in it) |
⇧PgUp, ⇧PgDn, ⇧⌘Home and ⇧⌘End page through a terminal's history.
The Usage page
| Keys | Command | What it does |
|---|---|---|
| C, T | usage.cost, usage.tokens | Over time and By model in cost or in tokens |
| ⇧⌘1 … ⇧⌘4 | usage.period.day … usage.period.quarter | The last 24 hours, 7, 30 or 90 days |
Commands with no key
You can give these a key in keybindings.json:
terminal.addToChat, project.add, agents.setUp, agents.refresh, machine.show, setup.run, app.about, files.show, rightPanel.toggleMaximized, git.commit, git.commitPush, git.commitPushPr, git.push, git.pull, git.createPr and pullRequests.open.
A project action with an id of dev is script.dev.run; its keybinding in caret.json is its default key (see Automations).
Change a key in keybindings.json
Your keys live in ~/.caret/engines/caret/keybindings.json: a list of rules, each a key, a command and, optionally, when it applies. Settings → Keybindings → Open keybindings.json opens it, and the pencil on any row writes a rule for you.
[
{ "key": "mod+shift+t", "command": "terminal.toggle" },
{ "key": "mod+j", "command": "-terminal.toggle" },
{ "key": "mod+e", "command": "terminal.split", "when": "terminalFocus" }
]
key:modis ⌘. Modifiers aremod(orcmd),ctrl,alt(oroption) andshift, joined with+:mod+shift+k. GPUI's own spelling,cmd-shift-k, works too.command: a command's name from the tables above. A-in front (-terminal.toggle) takes that command's default key away.when: where the rule applies, fromterminalFocus,composerFocus,threadListFocus,modelPickerOpen,editableFocus(any text field),fileEditorFocus,previewFocus(the Browser),usagePageOpenandpullsPageOpen, with!,&&,||and brackets. Without it, the rule applies everywhere.
Your rules come after the defaults, and the last rule that matches wins. The app reads the file at start and again whenever it changes; at most 256 rules are read. A rule it can't use (an unknown command or context, a key that doesn't parse) is skipped, and Settings → Keybindings says which and why.
Some keys can't be changed in the file: the composer's Enter, ⇧Enter, ⌘↩ and ⇧Tab (composer.send, composer.newline, composer.sendAlternate, composer.togglePlan; Settings → Chat → Send with swaps Enter and ⌘↩), Tab in a list, ↑/↓ prompt recall, find in diff's ⌘F, and the terminal's paging keys.