promptgarten 🌱

Command reference Β· Cursor CLI

/rewind

Jumps back to an earlier message via an interactive timeline and restores files/conversation.

/rewind opens an interactive timeline to reset files and conversation state to an earlier turn, with a per-turn diff and the option to restore only the conversation (without files). On by default. Aliases per the changelog: /undo, /restore (must first be enabled in /config). Rewinding to an earlier turn also restores that turn's image attachments.

πŸ”„ THE SAME TASK (β€œUNDO CHANGES (UNDO/REWIND)”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… WHEN TO USE IT?

A failed approach needs to be fully undone

/rewind β€” jump back to the turn before the failed refactor

Reset only the conversation state, but keep the files

/rewind β€” choose the 'conversation-only restore' option

β›” WHEN NOT TO?

Only a single typo needs correcting

Jumping back through the whole timeline is overkill for a small correction.

Better: Just give a new correction instruction directly in the chat

Two solution paths should be kept in parallel

/rewind overwrites the later state instead of keeping it alongside.

Better: Use /fork beforehand to keep a copy

SOURCES

MORE COMMANDS Β· Cursor CLI

/vim/line-numbers/show-thinking/status-indicators/shell/about/setup-terminal/help/feedback/open/copy-request-id/copy-conversation-id

All commands Β· Cursor CLI β†’

Share:𝕏inπŸ’¬