⌘⇧G on macOS, Ctrl+Shift+G on Windows and Linux. It opens below the terminal, above the chip bar.
In Settings it goes by its internal name, Rich Input. Same thing.
⌘⇧G hands focus back to the terminal and leaves the box open, with your text where it was. Esc is what closes it.
@ for files
Type @ and start the name. The @ only arms the autocomplete at the start of a line or after a space — a user@host triggers nothing.
The list comes from the worktree’s git ls-files: tracked and untracked, with .gitignore respected. Paths are relative to the session directory, and the search is fuzzy.
With the popover open:
With no popover,
Esc closes the composer.
The popover only exists when there is at least one match. If you typed
@xyz and nothing matches, there is no popover — and then Esc closes the whole box, because it’s the only Esc left.Enter: the two settings
This is the confusing part, so here it is in full. What rules is the “Send with Ctrl+Enter” preference (Settings → Preferences), on by default:
Two things worth calling out:
⇧↵ always inserts a newline, under both settings. It is the key that works without you remembering how the preference is set.⌘↵ / Ctrl+↵) cannot be remapped. The ⌘⇧G that opens the box can.
The sensitive-prompt warning
With “Warn about sensitive prompts” on (default), the core looks at the text before sending. If it thinks there is sensitive data in it, the send does not happen: the button turns amber and “May contain sensitive data — click again to send.” appears. Pressing again sends. It is a one-click toll, not a block. The check is a substring search, no regex, against a fixed list of twelve terms, in Portuguese and English:The preferences
All in Settings → Preferences:
With “Close after sending” off, the box stays open and empty — good for firing off several prompts in a row.
See also
Claude Code and Codex
Where the agent session is born.
Shortcuts
What you can and cannot remap.