Skip to content

Keyboard shortcuts ​

This page lists the default shortcuts. To change a shortcut, open Settings → Keybindings. On macOS, the menu bar shows your own shortcuts: when you change one in Settings, the menu changes too.

On Windows and Linux, use Ctrl for ⌘, Alt for ⌥ and Shift for ⇧.

Go somewhere ​

ShortcutWhat it does
⌘KOpen the command palette: go to a project or session, run a command, search messages. See Sidebar and navigation.
⌘BShow or hide the sidebar
⌘[Go back to the previous project or session
⌘]Go forward
⌘⌥→Next session tab
⌘⌥←Previous session tab
⌘1 to ⌘9Session tabs. Hold ⌘ to see the numbers on the tabs.
⌘,Open Settings

Sessions and worktrees ​

ShortcutWhat it does
⌘TNew session
⌘⇧TOpen the new session dialog
⌘NNew worktree (not in a plain project)
⌘WClose the session or the worktree. Escape does not close a session.
⌘⇧⌥TRestore the item you archived last. See Archived items.

In a session ​

ShortcutWhat it does
⌘LPut the cursor in the chat input
⇧TabSwitch the mode: Plan, Build, Yolo. See Agents and modes.
⌘↵Approve the plan or answer the question
⌘JAdd a note to the follow-up list
⌘MOpen the Magic Menu
⌘⇧BOpen the Files tab of the side panel
⌘⇧GShow or hide the Graph tab of the side panel. See Graphs and agents.
Ctrl⌘ZZen mode (macOS)

Git and other apps ​

ShortcutWhat it does
⌘GOpen the diff. See Review, commit, merge.
4 in the diffOpen the Checkpoints tab. See Checkpoints.
⌘⇧COpen the commit dialog
⌘RStart or stop the run script of the worktree
⌘OOpen Open In: the worktree in your editor, terminal or Finder
C in Open InOpen the worktree in your git client. See Open in other apps.