urob / zmk-config

Personal ZMK firmware configuration for various boards (34-keys, Corneish Zen, Planck)
527 stars 239 forks source link

Home row layer instead of mod #21

Closed arabshapt closed 4 months ago

arabshapt commented 10 months ago

Hi there, I am using home row mods on other alpha keys as well. But I was wondering whether it is possible to use the advancements in this feature(differenciating between tap and hold) for a layer switch. Example: holding j would switch layer instead of making e.g. hold CMD/GUI. I really appreciate what you are doing. Thank you for these repos and the guide how to use git for zmk.

urob commented 10 months ago

Yes, you want to replace the first binding in the behavior definition from kp to mo.

arabshapt commented 10 months ago

Thank you) it worked:)