You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a file's edit history preserved when the file is renamed, so that undo works even after the file is renamed.
Provide background
Currently, after renaming a file, that file's edit history is lost, such that attempting to undo (ie: pressing the u key) within the file is unable to return the file to any state that it was in prior to the rename.
For my specific use-case, I have the vim option, undofile, set to true, so edit history is stored in an undo file. Implementing this feature may be as simple as renaming the undo file when performing a rename or a file move operation?
What is the significance of this feature?
nice to have
Additional details
Thank you for this great plugin! It is a daily driver for me, one of the most useful plugins available for neovim.
The text was updated successfully, but these errors were encountered:
I don't usually do feature requests these days because I have so little free time, but this was such an interesting question that I had to find out if it works. Turns out, it does!
Did you check existing requests?
Describe the feature
It would be nice to have a file's edit history preserved when the file is renamed, so that undo works even after the file is renamed.
Provide background
Currently, after renaming a file, that file's edit history is lost, such that attempting to undo (ie: pressing the u key) within the file is unable to return the file to any state that it was in prior to the rename.
For my specific use-case, I have the vim option,
undofile
, set totrue
, so edit history is stored in an undo file. Implementing this feature may be as simple as renaming the undo file when performing a rename or a file move operation?What is the significance of this feature?
nice to have
Additional details
Thank you for this great plugin! It is a daily driver for me, one of the most useful plugins available for neovim.
The text was updated successfully, but these errors were encountered: