Skip to content
CoDevDocs

Search guides, features, and settings.

Reference

Shortcuts and commands

Keyboard shortcuts, the command palette, and chat slash commands.

On Windows and Linux, use Ctrl wherever this page says ⌘. Press ⌘ ? in a workspace to see the shortcuts there.

Workspace shortcuts

ShortcutAction
⌘ KShow all commands
⌘ PGo to file
⌘ Shift FSearch in files
⌘ BShow or hide the sidebar
⌘ Alt BShow or hide the inspector
⌘ JShow or hide the terminal
⌘ Shift ONew chat
⌘ ?Keyboard shortcuts

These don't fire while you're typing in a terminal or in an open dialog.

Editor

ShortcutAction
⌘ SSave the file
⌘ FFind in the open file
← →Move between open tabs (when a tab is focused)
DeleteClose the focused tab

In the file tree, use the arrow keys, Home, and End to move around.

Terminal

ShortcutAction
Ctrl ` Show or hide the terminal
Ctrl Shift ` New terminal
Ctrl Shift 5Split the terminal

Chat

KeyAction
EnterSend. While the agent is working, queue a follow-up.
Shift EnterNew line
EscStop the running turn
↑In an empty message box, bring back your last message
⌘ EnterCommit, in the commit message box

While you're following a teammate, press Esc to stop.

Command palette

Press ⌘ K and start typing.

GroupCommands
Go toGo to file…, Search in files…
WorkspaceNew chat, New worktree…, Import a session…, Share workspace…, Workspace settings…
ViewShow or hide the sidebar, inspector, and terminal; Show the worktrees board; Show Files, Changes, Review, History, or Browser
WorktreesSwitch to any worktree
HelpKeyboard shortcuts, Welcome tour, Send feedback…

Slash commands

Type / at the start of a chat message.

Agent commands

CommandWhat it does
/planInvestigate and propose a plan without changing files
/askAnswer a question without changing files
/goalSet a goal for this chat and keep working toward it
/reviewReview the uncommitted changes in this worktree
/initCreate or update AGENTS.md for this project

Workspace commands

CommandWhat it does
/open <file>Open a file in Files
/changesShow this worktree's changes
/diffReview the uncommitted diff
/terminalOpen the terminal
/preview [port]Preview your app in the browser
/branch <name>Switch to, open, or create a branch
/shareShare this workspace
/pushPush this branch to GitHub as you
/pr <title>Push this branch and open a pull request
/newStart a new chat
/rename <title>Rename this chat
/boardShow the board of worktrees
/settingsOpen your settings
/importImport a local agent session

Viewers can use /open, /changes, /diff, /board, and /settings; the rest need editor access. /push and /pr work in workspaces created from a public GitHub repository; see Git, GitHub, and pull requests.