[FEATURE] Accept a numerical argument for /rewind
Preflight Checklist
- [x] I have searched [existing requests](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20label%3Aenhancement) and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I use /rewind frequently. The current workflow requires typing /rewind, waiting for the dialog to appear, pressing the up-arrow key N times, and then pressing ENTER. This is cumbersome when rewinding multiple messages back.
Proposed Solution
/rewind should accept a numerical argument.
/rewind 3 would rewind 3 messages back.
If a code/conversation choice is needed (which is quite rare in my experience), a dialog could be shown as a fallback.
Alternative Solutions
Haven't looked into alternatives. I prefer using raw/barebones Claude Code as much as possible.
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Additional Context
Side note, not directly relevant to the issue: "rewind" is a poor name for international audiences imo. /back would be much clearer.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗