How can I undo all changes to a block of text in vim?

后端 未结 1 793
长发绾君心
长发绾君心 2021-01-19 15:43

Is it possible to select some text with visual line and undo all changes made to it from the beginning ?

1条回答
  •  逝去的感伤
    2021-01-19 16:17

    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.

    0 讨论(0)
提交回复
热议问题