Skip to content

Alternative to "go to parent/child/sibling" navigation #104

@micouy

Description

@micouy

I saw there was an issue about Leap Technology #44. I admit I haven't read the whole discussion but I agree with @kneasle it seems just like / and ? in vi. I don't use / for navigation because identical words often repeat throughout the code. On the other hand I also agree with the author of the issue that navigating the tree is much more tedious than using a mouse or just a cursor.

I propose an alternative solution I fell in love with which is used in amp. amp has a jump mode. In this mode it displays overlapping ids on top of the code. Each item you can jump (basically every word) is assigned a short id (2/3 letters). When you type the id, amp instantly moves the cursor to the beginning of this item. This solves the problem of identical words.

This solution is also used in browser extensions which enable "vim mode".

jump mode

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