[Bug] Ctrl+S stash prompt keybinding missing from interactive-mode documentation
Bug Description
Title: Ctrl+S "stash prompt" keybinding missing from interactive-mode docs
Type: Documentation bug
Summary:
The in-app keyboard-shortcut help panel (opened with ?) lists ctrl + s to stash prompt, but this binding is
not documented anywhere in the official interactive-mode reference.
Environment:
- Platform: Linux
- Interface: Claude Code CLI (terminal)
Steps to reproduce:
1. Open a Claude Code session.
2. Press ? to open the keyboard-shortcut help panel.
3. Observe the entry: ctrl + s to stash prompt.
4. Open the docs at https://code.claude.com/docs/en/interactive-mode.md (last updated 2026-07-04).
5. Search for Ctrl+S / "stash".
Expected:
The Ctrl+S stash-prompt shortcut should appear in the "Keyboard shortcuts" table on the interactive-mode
reference page, matching the in-app ? help panel.
Actual:
The docs do not mention Ctrl+S as a stash-prompt binding. On that page, Ctrl+S is documented only as the
scope-cycling key inside Ctrl+R reverse search (session → project → all). The documented draft-stashing
behavior is attributed to Esc + Esc ("Clear input draft... saves the draft to history so Up recalls it"). So
the client exposes a Ctrl+S stash feature that the published docs omit entirely.
Impact:
Users who check the docs (or ask an assistant that relies on them) get incorrect information about how to
stash a prompt. The in-app ? panel and the online reference disagree.
Requested fix:
Add the Ctrl+S "stash prompt" shortcut to the interactive-mode keyboard-shortcuts table so the docs match the
client's ? help panel. Also clarify how it differs from the Esc+Esc clear-draft behavior (e.g., does Ctrl+S
stash and keep vs. clear, and how is a stashed prompt restored).
Full ? panel output for reference:
! for shell mode double tap esc to clear input ctrl + shift + _ to undo
/ for commands shift + tab to auto-accept edits ctrl + z to suspend
@ for file paths ctrl + o for verbose output ctrl + v to paste images
/btw for side question ctrl + t to toggle tasks alt + p to switch model
shift + ⏎ for newline ctrl + s to stash prompt
ctrl + g to edit in $EDITOR
/keybindings to customize
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 2.1.201
- Feedback ID: a5042f7d-f0e2-401b-8e37-4acb214d5f46
Errors
[]
3 Comments
Thanks for the report. The interactive-mode reference now lists
Ctrl+Sin the keyboard shortcuts table: with text in the input it stashes it and clears the prompt; pressed again on an empty prompt it restores the stashed text, cursor position, and pasted content. That's distinct fromEsc Esc, which clears the draft into history forUpto recall.https://code.claude.com/docs/en/interactive-mode#keyboard-shortcuts
Closing as the docs are updated.
🤖 Generated with Claude Code
Thanks for the report! I re-checked this on the current release.
What I checked: on Claude Code v2.1.233, the in-app shortcut panel (press
?) still listsctrl + s to stash prompt— and the docs have since been updated to match:chat:stashaction bound to Ctrl+SVerdict: the documentation gap described here has been fixed, so I'm closing this issue. If you spot another shortcut missing from the docs, please open a new issue.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.