Skip to content

Commit

Permalink
tap hold for macro layer
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Oct 26, 2024
1 parent fc456c4 commit 233b4ba
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions config/corny.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@
#binding-cells = <0>;
bindings = <&mo 2>, <&sl 2>;
};

tap_esc_hold_macro: tap_esc_hold_macro {
compatible = "zmk,behavior-hold-tap";
label = "TAP_ESC_HOLD_MACRO";
bindings = <&mo>, <&kp>;

#binding-cells = <2>;
tapping-term-ms = <200>;
flavor = "tap-preferred";
};
};

macros {
Expand All @@ -33,10 +43,10 @@

default_layer {
bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp ESCAPE &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp LEFT_COMMAND &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
&kp LALT &td_mo_1 &kp SPACE &kp ENTER &td_mo_2 &kp LEFT_SHIFT
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&tap_esc_hold_macro 3 ESCAPE &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp LEFT_COMMAND &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
&kp LALT &td_mo_1 &kp SPACE &kp ENTER &td_mo_2 &kp LEFT_SHIFT
>;

sensor-bindings =
Expand Down

0 comments on commit 233b4ba

Please sign in to comment.