-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Improvement: Set an undo point every time the user stops typing for a set time #1142
Comments
I'd prefer to manually commit via |
It can be enabled/disabled in config files i guess, but this improvement issue is a follow up to a conversation in the matrix channel, about the fact that it is easier to click multiple times |
If it is ok to implement(the improvement is welcomed under a config variable) i would like to tackle it(tho i will require some pointers for where i need to add/modify stuff) |
Agree, having more undo points to work with is preferrable to having too few. Part of what's great, to me, about undo is I'm not thinking about it until it's time to undo. I don't want to build in 'set undo point' to my regular work flow (already, working with saving the buffer or even I can see the point of a user who wants to set undo points by stopping their normal workflow to create them, but I feel like this is exceptional, and could be addressed with a configuration option. |
For me, I would like undo points to be set during any of the following events:
Reasoning:
Something like this sounds awesome, but I think it would be best in addition to the standard undo. Document history could probably store both with a flag to say whether it was automatic or manual, edit: seems like that idea exists, #1075 |
@archseer has made has stance on this one clear (and I agree), C-s was implemented quite a while ago. I don't think we will change the behavior here (wit the exception of your third point but that was merged a while ago). Maybe in the more distant future you could write a plugin that calls c-s on these events. I don't see us supporting it in core |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Instead of only saving an undo point when switching between
insert
andnormal
modes, we can add an undo point if the user is in insert mode and didn't type anything for a per-determined amount of time.This improvement/feature will solve the "issue" of not switching back to
normal
enough then when you undo half your progress is deletedThe text was updated successfully, but these errors were encountered: