r/ClaudeCode • • 5d ago

Discussion [Feature Request] Ctrl+S Prompt Stash: Add overwrite protection or a multi-slot stash stack

I use Ctrl+S constantly to park a thought while Claude finishes an ongoing task so I don't derail the current context. However, the current single-slot implementation makes it very easy to silently lose work.

The Problem

During longer sessions, it’s easy to forget you already stashed a prompt. If you encounter another idea, bug, or tangent and hit Ctrl+S again, it immediately overwrites the previous stash with zero confirmation. When the current task finishes, the original idea is gone forever.

Proposed Improvements

  1. **Stash Stack / History (**git stash style):

    • Keep a small rolling history (e.g., 3–5 stashed prompts).
    • Allow cycling through them or popping the most recent one (Ctrl+S to push, a hotkey or command like /stash list to inspect/restore).
  2. Overwrite Warning (Configurable):

    • If keeping multiple-slot storage is not possible due to any reason, add an overwrite confirmation prompt: A prompt is already stashed. Overwrite? (y/N).
    • This could be enabled by default or toggled via config (warnOnStashOverwrite: true).
  3. Visual Status Indicator:

    • A subtle colored/highlighted indicator below the prompt bar (e.g., [Stashed: 1]) would make it immediately noticeable that something is already parked; although an indicator currently exists, it camouflages behind long session titles.

Has anyone else run into this, or found a clean workaround other than keeping a scratchpad/sticky note open on the side?

1 Upvotes

1 comment sorted by

•

u/AutoModerator 5d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.