Eugene Yarmash
Eugene Yarmash

Reputation: 149736

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

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

Upvotes: 4

Views: 480

Answers (1)

KARASZI István
KARASZI István

Reputation: 31467

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.

Upvotes: 5

Related Questions