3

Is there for Vim what Gource is for Git, to visualize Vim undo history?

I'm familiar with Gundo, which display diffs of undo history, but it's not really a visualizer like Gource for Git repos.

2 Answers 2

2

EDIT: this is only an alternative, not a relevant answer.

You're looking for vim undotree.

It shows the full history tree, and diffs with the current version.

3
  • 1
    Another one is vim-mundo.
    – mattb
    Mar 27, 2022 at 7:17
  • 2
    Those are basically the same as Gundo.
    – Geremia
    Mar 27, 2022 at 19:45
  • @Geremia indeed, sorry about that.
    – Biggybi
    Mar 30, 2022 at 19:03
1

Convert the undo history into a Git repo using Rich's UndoCommits function, then use something like gitk to visualize that Git repo's diffs.

Gource would only be useful if each commit UnoCommits produces were timestamped with the date/time of the undo; I'm not sure how to get that info, but it must be in the Gundo source code somewhere.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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