Keyboard Basics

The few keyboard shortcuts you need every day—and what Esc really does.

Finish The Grok Screen first

How to read shortcut notation

  • Enter means the Return key.
  • Ctrl+O means hold Control, then press O. On many Mac keyboards this is the key labeled control, not ⌘ Command.
  • Shift+Tab means hold Shift and press Tab.
  • If a shortcut does nothing, click inside Grok’s window so it has keyboard focus (not your browser or another app).

Core shortcuts (learn these first)

KeysWhat it does in plain English
EnterSend your message (or queue it if Grok is already working)
TabSwitch between typing box and history
EscStop the current work / close some menus (see table below)
Ctrl+NStart a new empty session
Ctrl+OToggle “always approve tools” (YOLO). Leave this off while learning
Shift+TabCycle modes: normal work → plan-first → always-approve
Ctrl+P or ?Open the command palette (searchable list of actions)
@Attach a file (not a Ctrl chord—just type the character)
/Open slash commands

Esc and Ctrl+C carefully explained

These keys do different things depending on state. Read slowly—this prevents accidents.

SituationKeyResult
Grok is working on a turnEscUsually cancels that work. Your half-typed draft is often kept
Grok is working; you typed a draftCtrl+C onceOften clears the draft first, without cancelling
Draft already empty; turn still runningCtrl+C againCancels the turn
Idle; you typed text; prompt focusedEsc twice quicklyClears the prompt
Idle; prompt empty; you have historyEsc twice quicklyMay open rewind (undo turns)—not “go back focus”
Beginner tip

If you only wanted to stop Grok, press Esc once and wait. Avoid mashing Esc repeatedly or you might open rewind by mistake.

Moving in history

First press Tab so history is focused.

  • Arrow up/down: select different blocks
  • Arrow left/right: collapse or expand a block
  • Shift+left/right: jump between your past user messages (“turns”)

There is an optional Vim mode (/vim-mode) that uses letter keys like j/k for people who already use Vim. If you have never heard of Vim, leave it off.

More shortcuts when you are ready

KeysMeaning
Ctrl+BSend a long-running foreground shell job to the background so you can keep chatting
Ctrl+SOpen session picker (resume an old chat)
Ctrl+MModel picker when not in prompt; multiline toggle when prompt is focused
Ctrl+TToggle the to-do list pane
Ctrl+GFull TUI: toggle tasks pane (background work). Minimal mode: may mean “edit draft in external editor” instead—use /tasks or the palette if the chord conflicts
Empty prompt + Browse prompts you sent earlier
Ctrl+. or Ctrl+XKeyboard shortcuts help (Ctrl+X is the reliable fallback on many terminals)

Image paste differs by OS (Windows often needs Alt+V for image clipboard in some terminals). If paste fails, drag an image file into the prompt instead. Mid-turn “send now / interject” chords also differ by terminal (e.g. Ctrl+Enter vs Ctrl+L in VS Code family)—see official keyboard docs via /docs.

Practice drill (5 minutes)

  1. Start Grok and send any short message.
  2. While it runs (or after), press Tab and move through history with arrows.
  3. Return to the prompt with Tab. Type a draft sentence, then Esc twice carefully to clear it (or delete with Backspace if you prefer).
  4. Open the palette with Ctrl+P, then close it with Esc.
  5. Type /, look at commands, Esc to close without running one.
Done when

You can send, cancel calmly, switch focus, and open @ / / menus without panic. You know YOLO (Ctrl+O) should stay off until you understand permissions.

Quick check

1. Ctrl+O toggles…
2. After Beginner keys, the curriculum’s first big win is…
What to do next

Beginner track is complete. Your first real win: How Game Projects Work, then the First Game walkthrough. (If you only care about apps, use How App Projects Work then the app walkthrough—pick one path and finish it before Intermediate.)