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

I need help with a keybinds. #920

Open
Letus252 opened this issue Jan 23, 2025 · 1 comment
Open

I need help with a keybinds. #920

Letus252 opened this issue Jan 23, 2025 · 1 comment

Comments

@Letus252
Copy link

I want to make menu key + arrows switch, close and open tabs in firefox. My idea was to make something like this:

[firefox*]

# Menu Key to F14
compose = f14

# Open new tab
f14+up = leftcontrol+t

# Close the current tab
f14+down = leftcontrol+w

# Switch to the tab on the left
f14+left = leftcontrol+pageup 

# Switch to the tab on the right
f14+right = leftcontrol+pagedown

But I wasn't able to figure out how to make chords output multiple keys (especially considering left control is a modifier). Additionally no chord worked with f14 binded to compose. Can someone help me get this to work?

@Letus252
Copy link
Author

Okay, I figured it out:

# Create menu key layer (named 'test') 
# which turns up arrow to ctrl+c etc.
compose = layer(test)

[test]
up = C-t
down = C-w
left = C-pageup
right = C-pagedown

The only issue thing I wasn't able to do is make it app specific, apparently layers can only be defined in the main config file.

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