-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: jj undo ergonomics #3700
Comments
Why make them different? Oh, I suppose the top-level |
I'm actually starting to question if |
No, |
Think of it like |
To reword the FR a bit: Improve the ergonomics of
I think that this alternative would be layering violation in UI terms, as imo |
Would this have any impact on #3428 ( |
The higher level |
Is your feature request related to a problem? Please describe.
The current behavior of the jj undo command does not seem to be what users intuitively expect. Currently if you run
jj undo
twice in a row it has the same behavior asjj op undo
, it returns you to the same place you were when you started. undo + undo = no change.Describe the solution you'd like
I'd like to preserve the ergonomics of the underlying
jj op undo
command (as suggested by @PhilipMetzger on Discord), but have the higher leveljj undo
command track if a user immediately undoes an undo and warn them.Describe alternatives you've considered
Alternatively, the jj undo command could keep track of where you are in the undo log ctrl-Z style. That probably implies a redo command as well?
The text was updated successfully, but these errors were encountered: