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

Add Undo/Redo operations #322

Open
MrPandir opened this issue Aug 5, 2024 · 1 comment
Open

Add Undo/Redo operations #322

MrPandir opened this issue Aug 5, 2024 · 1 comment
Labels
idea any new ideas or suggestions

Comments

@MrPandir
Copy link

MrPandir commented Aug 5, 2024

Problem & Solution

Sometimes it happens that you rename the wrong file by mistake or delete something you shouldn't have deleted. For this you need a way to get things back to the way they were. And that way is undo/redo.

Operation history file

It may also be worth saving the operation history to a file, so that even after restarting the superfile we can undo the operation. This behavior can be regulated by the save_operation_history parameter in the config. It is also worth specifying the maximum number of operations to save, for example, with the parameter maximum_operation_history.

Keyboard shortcuts

Regular keyboard shortcuts

  • Undo: Ctrl + Z
  • Redo: Ctrl + Y or Ctrl + Shift + Z

Vim keyboard shortcuts

  • Undo: U
  • Redo: Ctrl + R
@MrPandir MrPandir added the idea any new ideas or suggestions label Aug 5, 2024
@yorukot
Copy link
Owner

yorukot commented Aug 6, 2024

Absolutely a good idea, I wanted to do this when superfile was first created!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea any new ideas or suggestions
Projects
Status: Feature
Development

No branches or pull requests

2 participants