Toggle layer switch on tap, press character on hold #1613
-
How do I make it so that a tap of the caps lock toggles between two layers (say 'base' and 'nav'), but when held it presses the escape key? Side question: Is it possible to make it so that on press it is XX (no-op), but on tap-dance (twice press), escape is activated? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can do that by defining a virtual key with that when pressed uses
for "when held vs when tapped" there's a
you pretty much answered yourself on this one I think? |
Beta Was this translation helpful? Give feedback.
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>)
.for "when held vs when tapped" there's a
tap-hold
actions for that, see in config guide.you pretty much answered yourself on this one I think?
(tap-dance 200 (XX esc))
should work