问题
Is it possible to select some text with visual line and undo all changes made to it from the beginning ?
回答1:
I actually do that by undoing everything yanking the block then redoing everything to the last modification and then replacing the block with the yanked text.
来源:https://stackoverflow.com/questions/2236099/how-can-i-undo-all-changes-to-a-block-of-text-in-vim