-
Notifications
You must be signed in to change notification settings - Fork 12
Consider more conventional tree navigation behaviors #4
Comments
what it mean like following?
using
using
How about using
I added help panel so you can use |
Yep! I think so anyway 😅
Sure, space is great.
Cool, thanks! |
I see, I’ll implement :) |
@mholt Hi, I implemented following, please update tson and try it :)
If you find some bug let me know :) |
Great! Nice improvements, thanks :) |
I find it helpful when navigating any tree structure to be able to collapse and expand all nodes, but also go <-- (left) and --> (right) to move into & out of the structure's depth.
Right now, LEFT and RIGHT arrow keys only go UP and DOWN, but would you consider having LEFT and RIGHT jump directly to the adjacent parent/child node in that direction?
Also, the key bindings are really unintuitive for non-vim users. Could we consider using SPACEBAR and SHIFT-* (etc.) for certain actions like expanding/collapsing current node, jumping up or down a page or element, etc? I don't have anything too concrete in mind, but it's a little tricky to use right out of the box. I have to keep referencing the table in the readme, but I feel like I should just be able to figure it out with my arrow keys and spacebar and ctrl/shift keys.
Additionally, the "Collapse all nodes" (H) doesn't seem to be very helpful, as it just replaces everything with a
.
... which I can then edit... anyway, I just think there's some room for significant improvement here in the UI.The text was updated successfully, but these errors were encountered: