Skip to content

Sequential Key Shortcuts #822

Description

@BurnyBoi

Requesting a way to make Key Shortcuts that require typing multiple keys sequentially. For example what I do on ranger and lf; I press g, followed by another key in order to run commands that navigate to different locations. A menu appears that show me all the shortcuts mapped under that key:

image

Other examples of non-navigation commands I have mapped under the d key:
image

I've tried making a script that pops up a dialog with buttons to see if I could press the buttons with hotkeys, as well as tried a script that uses read, but the only way it might work would be having a separate terminal window script. It'd be cleaner having sequential key shortcuts built in.

image
This is the dialog I tried. I was hoping I'd be able to press the m and v keys to press the buttons, but I either have to use the mouse or tab to them. If this were possible I'd be able to string together dialog boxes and buttons to achieve what I'm looking for.

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