Skip to content

vundo as popup for normal undo/redo #114

@ghost

Description

Hello,

I want to share an idea I've implemented for myself because the result feels very convenient.

I made it so that the "normal" undo/redo commands cause the vundo window to popup silently (at the usual position), but I don't select it. The buffer stays writeable, subsequent undo/redo commands force the update the popup. If I do something else, the popup window is silently closed after a short timeout (default: 3 seconds). But I can also switch to the popup, which then becomes automatically updated (very important) and becomes the usual fully functional vundo thing.

This is nice: most of the time, I don't need vundo, but it's nice as a visualisation. But when I need it, I often realize too late. Then I call vundo but fail to see quickly where I came from (which undo node). This way I always see what I do and keep my normal keys, I don't interrupt my workflow until it gets really complicated (branch points etc) - and then I switch to the already existing vundo window. Of course, the vundo command still works as well, just like before.

What I currently have is only a hack (vundo makes the buffer read-only, etc, some workarounds needed to get it work nicely) but believe me, for some users (like me) this is a quite nice thing.

If you are not interested just close the issue anyway. Have a nice day, thanks for reading,

Michael.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions