Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequential Key Shortcuts #822

Open
BurnyBoi opened this issue Oct 29, 2024 · 0 comments
Open

Sequential Key Shortcuts #822

BurnyBoi opened this issue Oct 29, 2024 · 0 comments

Comments

@BurnyBoi
Copy link

BurnyBoi commented Oct 29, 2024

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.

@BurnyBoi BurnyBoi changed the title Multi-key Key Shortcuts Sequential Key Shortcuts Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant