I want to be able to make the changes that I’m making to certain files a lot more visible while I’m editing them.

Does any plugin or functionality of vim allow for viewing the editing history of the document as a patch file? (Similar to the “track changes” visualization feature in Microsoft Word.) I know there are git plugins that can show you which lines are modified/not committed, but I want to be able to view what I’ve deleted inline as well, in case I might need to glance at it again.


There is mbbill/undotree plugin that can do it as far as I understood you:

enter image description here

  • See also Gundo. I’m not sure if either of these do quite what the OP is looking for, though. – Rich Dec 20 '18 at 10:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.