Skip to content

Commit

Permalink
added new "layer mod tap" behavior for Layers 2 and 3 thumb keys
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Oct 7, 2024
1 parent b52a07f commit ca3f401
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions config/corneish_zen.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
#binding-cells = <0>;
bindings = <&mt LEFT_SHIFT LWIN>, <&kp LWIN>;
};

LayerModTap: LayerModTap {
compatible = "zmk,behavior-hold-tap";
label = "LAYERMODTAP";
bindings = <&mo>, <&tog>;

#binding-cells = <2>;
tapping-term-ms = <200>;
};
};

keymap {
Expand All @@ -40,10 +49,10 @@
// | LWR | BACK| CTRL| | ENT | SPC | RSE |

bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &mt RALT DELETE
&kp BACKSPACE &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&WinShiftDance &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp ESCAPE &kp ENTER &kp LCTRL &lt 3 SPACE &mo 2 &mo 1
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &mt RALT DELETE
&kp BACKSPACE &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&WinShiftDance &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp ESCAPE &kp ENTER &kp LCTRL &lt 3 SPACE &LayerModTap 2 2 &LayerModTap 1 1
>;
};

Expand Down

0 comments on commit ca3f401

Please sign in to comment.