Reference

Agents Window keyboard shortcuts

View as Markdown
On the other surface

This page covers the Agents Window. For the Terminal UI, see Keyboard shortcuts in the Terminal UI.

Overview of keyboard shortcuts in Grok Build. See all keyboard shortcuts by pressing Cmd R / Ctrl R then Cmd S / Ctrl S or by opening command palette Cmd Shift P / Ctrl Shift P and searching for Keyboard Shortcuts.

Learn more about Keyboard Shortcuts in Grok Build with Key Bindings for VS Code as a baseline for Grok Build's keybindings.

All Grok Build keybindings, including Grok Build-specific features, can be remapped in Keyboard Shortcuts settings.

General

ShortcutAction
Cmd I / Ctrl IToggle Sidepanel (unless bound to mode)
Cmd L / Ctrl L or Cmd K / Ctrl KToggle Sidepanel (unless bound to mode)
Cmd E / Ctrl EToggle Agent layout
Cmd . / Ctrl .Mode Menu
Cmd / / Ctrl /Loop between AI models
Cmd Shift J / Ctrl Shift JGrok Build settings
Cmd Shift Space / Ctrl Shift SpaceToggle Voice Mode (dictation)
Cmd , / Ctrl ,General settings
Cmd Shift P / Ctrl Shift PCommand palette

Chat

Shortcuts for the chat input box.

ShortcutAction
Return / EnterQueue message (default)
Cmd Return / Ctrl Enter when typingForce send message
Cmd Shift Backspace / Ctrl Shift BackspaceCancel generation
Cmd Shift L / Ctrl Shift L with code selectedAdd selected code as context
Cmd V / Ctrl V with code or log in clipboardAdd clipboard as context
Cmd Shift V / Ctrl Shift V with code or log in clipboardAdd clipboard to input box
Cmd Return / Ctrl Enter with suggested changesAccept all changes
Cmd Shift Backspace / Ctrl Shift Backspace with suggested changesReject all changes
TabCycle to next message
Shift TabRotate between Agent modes
Cmd Opt / / Ctrl Alt /Model toggle
Cmd N / Ctrl N / Cmd R / Ctrl RNew chat
Cmd T / Ctrl TNew chat tab
Cmd [ / Ctrl [Previous chat
Cmd ] / Ctrl ]Next chat
Cmd W / Ctrl WClose chat
Escape / EscUnfocus field

Code selection & context

ShortcutAction
@@-mentions
/Shortcut Commands
Cmd Shift L / Ctrl Shift LAdd selection to Chat
Cmd L / Ctrl L or Cmd K / Ctrl KAdd selection to new chat
Cmd → / Ctrl →Accept next word of suggestion
Cmd Return / Ctrl EnterSearch codebase in chat
Select code, Cmd C / Ctrl C, Cmd V / Ctrl VAdd copied reference code as context
Select code, Cmd C / Ctrl C, Cmd Shift V / Ctrl Shift VAdd copied code as text context

Tab

ShortcutAction
TabAccept suggestion
Cmd → / Ctrl →Accept next word

Last updated: November 23, 2026