Docs

Keyboard shortcuts

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

KeysCommandWhat it doesWhen
⌘KcommandPalette.toggleSearch threads, projects and commandsNot in a terminal
⌘,settings.openOpen Settings
Escmodal.closeClose the palette, a sheet or Settings
⌘Bsidebar.toggleShow or hide the sidebar
⌥⌘BrightPanel.toggleShow or hide the right panel
⌘Jterminal.toggleShow or hide the terminal
⌥⌘Vcall.toggleCall the open thread or your bot, or hang up (Voice calls)
hold fnDictate in any app; with ⌃, ask your bot. Tap twice for hands-free (Dictate anywhere). The key is picked in Settings → Voice, not keybindings.json
⌃⌘VPaste 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)
⇧⌘BthreadPanel.toggleShow or hide the open thread's detailsNot in a terminal
⌘Uusage.openOpen the Usage page: cost, tokens and limitsNot in a terminal
⌥⌘Atheme.selectChange the themeNot in a terminal
⌥⇧⌘Aappearance.cycleSwitch between light and darkNot in a terminal
⌘[navigation.backGo backNot in a terminal
⌘]navigation.forwardGo forwardNot in a terminal
F6, ⌘F6workspace.focusNextMove the keyboard to the next area
⇧F6, ⇧⌘F6workspace.focusPreviousMove the keyboard to the previous area
⌘Qapp.quitQuit Caret
⌘Happ.hideHide Caret
⌥⌘Happ.hideOthersHide other apps
⌘Mwindow.minimizeMinimize the window

Threads

KeysCommandWhat it doesWhen
⌘N, ⇧⌘Ochat.newStart a new threadNot in a terminal
⇧⌘Nchat.newLocalA new thread in the current project, without asking whichNot in a terminal
⌥⌘Nchat.newWithoutProjectA new thread without a project, in a scratch folderNot in a terminal
⇧⌘]thread.nextOpen the next thread in the sidebar
⇧⌘[thread.previousOpen the previous thread in the sidebar
⌘1 … ⌘9thread.jump.1 … thread.jump.9Open the sidebar's first to ninth threadModel picker closed
⌘Fchat.findFind in the open thread (in the Review tab, the changes)Not in a terminal or the file editor
⇧⌘Sthread.settleMark the open thread done, or not doneNot in a terminal
⇧⌘Pthread.pinPin the open thread (in a picker: the highlighted project)Not in a terminal
⇧⌘Cthread.copyReferenceCopy the open thread's linkNot in a terminal
⌘Zthread.undoTake back the last pin, done, snooze or archiveNot in a text field
⇧⌘KpullRequest.copyNumberCopy the thread's pull request numberNot in a terminal

The sidebar's list

These work once the keyboard is in the thread list (press F6 to get there).

KeysCommandWhat it does
↑, ↓threadList.up, threadList.downThe thread above or below
EnterthreadList.openOpen the thread
F2threadList.renameRename the thread
←, →threadList.fold, threadList.unfoldFold or unfold the shelf
⇧F10threadList.menuThe row's menu, from the keyboard
EscthreadList.leaveBack to the composer

The composer

KeysCommandWhat it doesWhen
Entercomposer.sendSend (or a new line, when ⌘↩ sends)In the composer
⇧Entercomposer.newlineA new lineIn the composer
⌘↩composer.sendAlternateSend; while the agent works, the other of Steer and Queue; in a draft, start it in the backgroundIn the composer
⌥⌘↩composer.sendAndNewThreadSend, then start a new thread (in a draft: start it in the background)In the composer
⇧⌘↩thread.steerQueuedMessageSend the first queued message nowNot in a terminal
⌥↑thread.editQueuedMessageEdit the last queued messageIn the composer
⇧Tabcomposer.togglePlanPlan the next message, or not (outside a list)In the composer
⌘Scomposer.stashStash the draft, to bring it back laterIn the composer
⇧⌘Vcomposer.pastePlainPaste as text, however longIn the composer
⇧⌘MmodelPicker.togglePick the agent, model and effortNot in a terminal
⇧⌘Ecomposer.effortPick the effort (and Fast)Not in a terminal
⇧⌘Acomposer.modePick the permission modeNot in a terminal
⇧⌘Hcomposer.hostPick the machine a new thread runs onNot in a terminal
⇧⌘Xcomposer.workspaceA new thread in the checkout, or in a new worktreeNot in a terminal
⇧⌘Gcomposer.branchThe branch a new thread works on, or a new worktree starts fromNot in a terminal
⇧⌘Lcomposer.previousWorktreeA new thread in the worktree the project's threads last usedNot in a terminal

In the open model picker:

KeysCommandWhat it does
⌘1 … ⌘9modelPicker.jump.1 … modelPicker.jump.9The picker's first to ninth row
⇧⌘↑, ⇧⌘↓modelPicker.previousProvider, modelPicker.nextProviderThe model above or below
KeysCommandWhat it doesWhen
⌘PfilePicker.toggleGo to a file in the projectNot in a terminal
⇧⌘FprojectSearch.toggleSearch the project, with replaceNot in a terminal
⌘Oeditor.openFavoriteOpen the file on show, or the project, in your editorNot in a terminal
⌘Seditor.saveSave the file (it also saves by itself)In the file editor
⌘Leditor.goToLineGo to a line in the fileIn the file editor
⌥⌘/editor.commentOnLinesComment on the selected lines, a chip in the composerIn the file editor
⌘Weditor.closeClose the file's tabIn the file editor

The right panel

KeysCommandWhat it doesWhen
⌘Ddiff.toggleShow the latest turn's changes in Review, or hide themNot in a terminal
⌘TrightPanel.newA new tab in the right panel (over a Browser tab, another Browser tab)Not in a terminal
⌘WrightPanel.closeClose the right panel's tabNot in a terminal
⇧⌘Tview.reopenClosedOpen the last closed tab again
⇧⌘Jpreview.toggleShow the Browser, or hide it

The Browser

These work while the Browser has the keyboard.

KeysCommandWhat it does
⌘Rpreview.refreshLoad the page again
⌘.preview.stopStop loading the page
⌘[, ⌘]preview.back, preview.forwardBack or forward a page
⌘Lpreview.focusUrlPut the keyboard in the address bar
⌘=, ⌘+preview.zoomInZoom the page in
⌘-preview.zoomOutZoom the page out
⌘0preview.resetZoomThe page at 100%
⇧⌘Mpreview.toggleDeviceDevice sizes on or off
⌥⌘Spreview.screenshotA screenshot for the composer: drag for part of the page, or click for all
⌥⌘Cpreview.pickElementPick an element on the page for the composer

The terminal

These work while a terminal has the keyboard.

KeysCommandWhat it does
Escterminal.escapeEscape goes to the program, not the app
⌘Cterminal.copyCopy the terminal's selection
⌘Vterminal.pastePaste into the terminal
⌘Aterminal.selectAllSelect everything in the terminal
⌘Kterminal.clearClear the terminal
⌘Dterminal.splitSplit the terminal side by side
⇧⌘Dterminal.splitVerticalSplit the terminal, one above the other
⌘Nterminal.newA new terminal in the drawer
⌘Wterminal.closeClose the terminal (asking first if something runs in it)

⇧PgUp, ⇧PgDn, ⇧⌘Home and ⇧⌘End page through a terminal's history.

The Usage page

KeysCommandWhat it does
C, Tusage.cost, usage.tokensOver time and By model in cost or in tokens
⇧⌘1 … ⇧⌘4usage.period.day … usage.period.quarterThe 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: mod is ⌘. Modifiers are mod (or cmd), ctrl, alt (or option) and shift, 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, from terminalFocus, composerFocus, threadListFocus, modelPickerOpen, editableFocus (any text field), fileEditorFocus, previewFocus (the Browser), usagePageOpen and pullsPageOpen, 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.