/undo and /redo #1407
jahin-abrar-official
started this conversation in
Feature requests
/undo and /redo
#1407
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Area
Coding agent and CLI
Problem
I am using Prime-Agent in VS Code Codespaces. The system already has an undo shortcut using Ctrl+-, but this shortcut is not available or does not work as expected in VS Code.
I would like to request the addition of /undo and /redo commands, similar to how OpenCode provides them. This would make it much easier to undo or redo changes directly within Prime-Agent, especially when using it in VS Code, Codespaces, or other environments where the current keyboard shortcut is unavailable or inconvenient.
Proposed direction
Add /undo and /redo commands to Prime-Agent that can be used directly in the agent's command interface.
For example:
/undo — undo the most recent change made by the agent.
/redo — restore the most recently undone change.
Alternatives considered
Another option would be to configure a custom VS Code keyboard shortcut, but this adds extra setup and may not work consistently across different environments.
Adding /undo and /redo directly to Prime-Agent would avoid these limitations and provide a consistent solution regardless of the editor or environment being used.
Additional context
No response
All reactions