/rewind
Pick a past message and rewind the conversation to that point.
Usage
In the interactive screen, type /rewind and press Enter.
/rewindA list of past messages appears. Use the arrow keys to pick one and press Enter to confirm. Press Esc to cancel.
Open it with double Esc
When the input field is empty, pressing Esc twice also opens the /rewind list.
After rewinding
-
Messages after the selected one are removed from history
-
They also disappear from the screen
-
The selected message is restored into the input field
You can resend it as-is, or edit it before sending again.
When to use it
-
When the conversation went somewhere you didn’t want and you want to start over from a specific point
-
When you want to try the same question with different wording
Notes
Rewinding only affects the conversation. Files and code are not changed. To revert files to a previous state, use git or a similar tool.