Skip to content

Make forward remember which branch back came from? #100

@mentalisttraceur

Description

@mentalisttraceur

One UX nicety of undo-tree is that if you hit back to a branch point, and then hit forward, you go forward in whatever branch you were just on.

undo-tree visualizes this by coloring the currently "selected" branch slightly differently.

Is it feasible/realistic to have that in vundo?

Currently, as a user used to undo-tree, this feels like a big efficiency loss, because I am so used to being able to toggle between any two adjacent nodes by just hitting by back/forward keys (my thinking and muscle memory doesn't have to be predicated on whether or not I'm just in front of a branch boundary).

However, as I get used to vundo's capabilities, I may stop wanting this:

  1. Rapidly cycling between two or nodes is something I do to think (but maybe I can use the vundo-diff buffer instead for that, especially because vundo-diff can do diffs to any marked node (wonderful feature by the way!)).
  2. I feel like undo-tree's visual indicator of which branch is "selected" helps me navigate over large sets of changes without losing my place. But maybe it'll turn out I can comfortably do without.

So I'm not advocating for this to have high priority. But it seems like a nicety worth adding if it's fairly easy.

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