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

[Feature Request] Locked Ctrl, Alt, Fn, Meta #870

Open
amihsekai opened this issue Jan 9, 2025 · 7 comments
Open

[Feature Request] Locked Ctrl, Alt, Fn, Meta #870

amihsekai opened this issue Jan 9, 2025 · 7 comments

Comments

@amihsekai
Copy link

It would be really convenient to have CapsLock equivalent to those keys. Other modifiers such as accents may have lower interest for this feature.

@amihsekai amihsekai changed the title Locked Ctrl, Alt and Meta Locked Ctrl, Alt, Fn, Meta Jan 9, 2025
@amihsekai amihsekai changed the title Locked Ctrl, Alt, Fn, Meta [Feature Request] Locked Ctrl, Alt, Fn, Meta Jan 9, 2025
@Spike-from-NH
Copy link
Contributor

I think long-press already does this. See legend in Settings: "You can lock any modifier by holding it". CAPS LOCK is, by definition, self-locking (until SHIFT is pressed). Other behavior would baffle users of physical keyboards.

@amihsekai
Copy link
Author

I think long-press already does this. See legend in Settings: "You can lock any modifier by holding it". CAPS LOCK is, by definition, self-locking (until SHIFT is pressed). Other behavior would baffle users of physical keyboards.

Yes, but I feel it's slow. If I increase the press speed, all keys are affected, which is an issue for me.

@Julow
Copy link
Owner

Julow commented Jan 11, 2025

An alternative to locking is to hold the modifier with one finger while typing with the other. You could have a copy of Ctrl and Fn on each side in a custom layout to be able to press them with any thumb.
I'm curious to know what are your usecases for locking these modifiers ?

@amihsekai
Copy link
Author

Some keybindings in my code editor heavily utilize Ctrl and Alt. It would be more efficient if I could simply swipe to lock Ctrl and Alt modifers, similar to how Caps Lock toggles Shift to a locked state, instead of having to wait for it to lock upon holding the default modifier key.

@Julow
Copy link
Owner

Julow commented Jan 12, 2025

I have a hard time thinking how locking a modifier, typing some bindings and unlocking the modifier is any efficient.
What do you think of a single modifier that is the equivalent of Ctrl and Alt together ?

@amihsekai
Copy link
Author

amihsekai commented Jan 12, 2025

I have a hard time thinking how locking a modifier, typing some bindings and unlocking the modifier is any efficient.

Maybe I was not clear... I just find swiping CapsLock to achieve the locked state more convenient than holding shift, and wish other modifiers could have their CapsLock equivalents. They would be really helpful for me, as they fit really well in my layout.
Screenshots_2025-01-12-19-55-47.png

What do you think of a single modifier that is the equivalent of Ctrl and Alt together ?

That's not really that useful for me, but could be interesting.

@Spike-from-NH
Copy link
Contributor

Spike-from-NH commented Jan 13, 2025

With syntax now being developed, you could use your custom layout to define a swipe of A as Alt A or Ctrl Alt A. I doubt you would benefit from a mode in which Alt or even the diacritics were locked on for every keystroke.

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

3 participants