Skip to content

Toggle layer switch on tap, press character on hold #1613

Answered by rszyma
GetPsyched6 asked this question in Q&A
Discussion options

You must be logged in to vote

tap of the caps lock toggles between two layers

You can do that by defining a virtual key with that when pressed uses layer-while-held, and set capslock key to (on-press toggle-vkey <vkey_name>).

when held it presses the escape key

for "when held vs when tapped" there's a tap-hold actions for that, see in config guide.

Is it possible to make it so that on press it is XX (no-op), but on tap-dance (twice press), escape is activated?

you pretty much answered yourself on this one I think? (tap-dance 200 (XX esc)) should work

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GetPsyched6
Comment options

Answer selected by GetPsyched6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants