-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Do not change undo history when auto updating metadata #1112
Comments
if we'd just set |
Never mind. We just have to replace |
Not sure if this is even the same issue, but using metadata makes undo unusable for me... It only happens when the 2024-01-08_12.12.31.mp4System: Neorg commit: 5432be2 Best, and thanks for an awesom plugin! |
@kflak this is b/c you have an autosave plugin. I use one too, just spent a little time solving it. but the way that I went about doing it seems like a hack, and requires that you remap your |
aaaah... makes sense! Had similar issues with autosave and Oil.nvim now that you mention it. Thanks for the PR! |
Issues
Feature description
Normally,
u
followed by<ctrl-r>
should be a no-op.But if I save the file in between, that is
u
then:w
then<ctrl-r>
, the saving action modifies the timestamp and creates a new undo branch, which prevents redo.It would be nice if the undo status can somehow remain unaffected upon saving.
Help
Yes
Implementation help
No response
The text was updated successfully, but these errors were encountered: