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:

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

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.

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.
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:
Other examples of non-navigation commands I have mapped under the d key:

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.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.