You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request: allow switching between branches, as demonstrated in this Emacs undotree demo where left/right keys switch branches and up and down keys navigate through a branch.
When going back in history, users tend to start from most recent and move incrementally backwards, usually linearly. If switching branches, we usually traverse it linearly because it makes the most intuitive sense and easiest to understand. Currently, the layout does not allow for this--it's only possible to navigate vertically and not as if it's a tree (it only appears like a tree but doesn't act like it).
For example here, it is confusing navigating from third entry from the top (the first entry diverging from left branch) to the forth (next) entry from the top (the tip of the right branch). To replicate the intuitive nature of the Emacs undotree branch, the user would need to use vim motions to manually jump past irrelevant diverges in history. I found I use undotree much more frequently and naturally in Emacs where left/right keys switch branches and up/down keys navigate through the branch (I mean hjkl keys, of course).
It's probably non-trivial to implement this though.
The text was updated successfully, but these errors were encountered:
that's some great suggestions, thanks! As for the example, when you are at state 37, you can press 'u' to go directly to the state 27 and you don't have to use vim motions to manually jump past irrelevant states, if that's what you want.
Feature request: allow switching between branches, as demonstrated in this Emacs undotree demo where left/right keys switch branches and up and down keys navigate through a branch.
When going back in history, users tend to start from most recent and move incrementally backwards, usually linearly. If switching branches, we usually traverse it linearly because it makes the most intuitive sense and easiest to understand. Currently, the layout does not allow for this--it's only possible to navigate vertically and not as if it's a tree (it only appears like a tree but doesn't act like it).
For example here, it is confusing navigating from third entry from the top (the first entry diverging from left branch) to the forth (next) entry from the top (the tip of the right branch). To replicate the intuitive nature of the Emacs undotree branch, the user would need to use vim motions to manually jump past irrelevant diverges in history. I found I use undotree much more frequently and naturally in Emacs where left/right keys switch branches and up/down keys navigate through the branch (I mean
hjkl
keys, of course).It's probably non-trivial to implement this though.
The text was updated successfully, but these errors were encountered: