Amp CLI reference - Keyboard shortcuts
Amp keyboard shortcuts
Amp documents 27 keyboard shortcuts, including Ctrl+O, Ctrl+G and Ctrl+V. These work inside the Amp terminal UI. Each row gives the docs' description, accepted values and an example where one is documented.
Last verified 6 official pagesFull Amp reference
| Shortcut | Description | Example |
|---|---|---|
Ctrl+O | Opens the command palette, Amp's most important CLI shortcut. In a plugin dialog with link fields it opens the first link. Docs: Ctrl+O | -no example |
Ctrl+G | Opens the current prompt in your editor. Requires $EDITOR. Docs: Ctrl+G | -no example |
Ctrl+V | Pastes an image from the clipboard into the prompt, even on macOS (not Cmd+V). Docs: Ctrl+V | -no example |
Ctrl+S | Turns the Dial before a thread's first message; afterwards it shows the thread's mode and models, which cannot change. Keymap command mode.toggle. Docs: Ctrl+S | -no example |
Tab (in the Dial) | After Ctrl+S, switches to a list of every mode (dial modes first); use Up and Down to choose and Tab again to return to the dial. Docs: Tab (in the Dial) | -no example |
Ctrl+R | Opens your prompt history. For an | -no example |
Up / Down | Moves to queued and previous messages so you can edit them. Docs: Up / Down | -no example |
Tab, then e | Edits a prior message: Tab navigates to prior messages and e edits the selected one. Docs: Tab, then e | -no example |
Alt+T | Expands or collapses thinking and tool call details for the current session. Docs: Alt+T | -no example |
Alt+R | Toggles fast mode for the active model. Docs: Alt+R | -no example |
Ctrl+C Ctrl+N | Archives the current thread and starts a new one. Docs: Ctrl+C Ctrl+N | -no example |
Ctrl+C Ctrl+E | Archives the current thread and quits. Docs: Ctrl+C Ctrl+E | -no example |
Ctrl+C Ctrl+C | Quits the CLI. Docs: Ctrl+C Ctrl+C | -no example |
Ctrl+C (with a transcript selection) | Copies an active transcript selection manually when amp.terminal.copyOnSelect is false. Docs: Ctrl+C (with a transcript selection) | -no example |
Esc Esc | Interrupts the active agent turn (forcibly stops the agent and sends your message immediately). Keymap command thread.interrupt. Docs: Esc Esc | -no example |
@ | In the TUI, searches for a file to mention. In the web composer, @ tags a workspace member. Docs: @ | -no example |
@@ | In the CLI, searches for a thread to mention. Docs: @@ | -no example |
Enter | Submits the prompt. If the agent is still working, Enter steers it by default: the message is delivered after the current step. Docs: Enter | -no example |
Enter Enter | On a queued message, steers it sooner. Docs: Enter Enter | -no example |
Shift+Enter | Inserts a newline when the terminal supports modified Enter keys (Ghostty, WezTerm, Kitty, iTerm2, or tmux with extended-keys enabled). Docs: Shift+Enter | tmux set -s extended-keys on |
Ctrl+J | Inserts a newline in any terminal. Docs: Ctrl+J | -no example |
\ then Return | Typing a backslash followed by Return inserts a newline. Docs: \ then Return | -no example |
<leader> (Ctrl+X) | The leader key used in keymap chords; default Ctrl+X Docs: <leader> (Ctrl+X) | -no example |
Cmd+Enter / Ctrl+Enter (web) | In the web composer, queues the message until the agent completely finishes instead of steering. Docs: Cmd+Enter / Ctrl+Enter (web) | -no example |
Ctrl+G Z | Snoozes the current thread in the web app. Docs: Ctrl+G Z | -no example |
Cmd+Shift+D / Ctrl+Shift+D | Starts and stops voice dictation (Cmd+Shift+D on macOS, Ctrl+Shift+D elsewhere); press and hold to dictate and send on release. Configurable in Keyboard Shortcuts settings. Docs: Cmd+Shift+D / Ctrl+Shift+D | -no example |
Cmd+Shift+, (macOS app) | Opens App Settings in the Amp app for macOS, where the Runner tab lives. Docs: Cmd+Shift+, (macOS app) | -no example |
The rest of the Amp reference
FAQ
How many keyboard shortcuts does Amp have?
The official Amp docs list 27 keyboard shortcuts, including Ctrl+O, Ctrl+G and Ctrl+V. All of them are in the table above, in the docs' order.
What does Ctrl+O do in Amp?
Opens the command palette, Amp's most important CLI shortcut. In a plugin dialog with link fields it opens the first link.
Where are Amp keyboard shortcuts documented?
On 6 official docs pages at ampcode.com, last read on October 17, 2026. Every row in the table links the exact section it came from.
Sources
Last verified . Names and examples are copied verbatim from the 6 official pages below, and every row above links the exact section it came from.
Newsletter
Know when your tools change
One email per week. New coding agent releases, the flags and commands they add, and what they mean for how you work.