-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Adding Undo #17
Comments
I use a regex replace from sed to replace text that not belong to vim. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please don't close it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please don't close it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
! |
@windwp, How about always create backup option in setup? Then user can choose to delete or restore it. |
|
Hello, does anyone see a problem in adding a function to invert the search at least instead of an undo system ( undo system that would theoretically be too performance costly). So a user could get back to a previous search and replace (That would need to implement a telescope on a search history) and just invert the search and replace to theoretically "put it back" the way it was? |
Honestly my brain.exe can't do that complex task tho. I was nearly debunked when doing #210 . Sadly windwp is busy and only do some fixes. |
It’s unfortunate as the lack of undo is the only thing preventing me from using this otherwise great plugin. How about an option to automatically git commit/stash before replacing? |
I'm not sure but this could generate git conflicts right ? (Which wouldn't be all that bad, but still conflicts) |
Hi, I’d like to suggest the following solution to this important requirement:
|
Although I didn’t specify it above, I hope it’s clear that stepping forward and backward through the search and replace undo tree means walking backwards and forwards through through this isolated git commits, and copying those files back into the respective user directory locations. |
Hello. I see in readme that undo is not support after saving.
Is it any way to implement it?
I find this plugin good which is different of course but it supports undo:
https://github.com/dyng/ctrlsf.vim
maybe it can help
The text was updated successfully, but these errors were encountered: