Skip to content
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

Feature request: Go back / Undo support #12

Closed
matthewmueller opened this issue Mar 4, 2019 · 2 comments
Closed

Feature request: Go back / Undo support #12

matthewmueller opened this issue Mar 4, 2019 · 2 comments

Comments

@matthewmueller
Copy link

First of all – this tool is sooo great! Thanks for putting this together. It replaces like 10 other tools I've cobbled together in the past.

I was wondering if it'd be possible to support going backwards? Like an undo command. Sometimes you say Y to the wrong change and it'd be really cool to be able to go back and change it.

@matthewmueller matthewmueller changed the title Feature request: Go back Feature request: Go back / Undo support Mar 4, 2019
@swolchok
Copy link
Contributor

Thanks for contributing!

Can you elaborate on why reverting the changes to the offending file in git/hg/whatever (or manually editing) in another terminal window (and perhaps quitting/restarting fastmod) isn't going to work? I always assumed that undo for bad changes was something that would be covered by version control, and that fastmod is fast enough that a quit/restart isn't particularly onerous.

@matthewmueller
Copy link
Author

matthewmueller commented Mar 14, 2019

Ahh good point! You could just cancel out of fastmod, make the undo, and restart and be back at the same spot again. I guess that covers it, it would probably just be a bit faster to press say u, then n.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants