diff --git a/config/corny.keymap b/config/corny.keymap index cafdd1f..9a14374 100644 --- a/config/corny.keymap +++ b/config/corny.keymap @@ -18,11 +18,32 @@ bindings = <&mo 2>, <&to 2>; }; - td_cmd_ctrl: td_cmd_ctrl { - compatible = "zmk,behavior-tap-dance"; - label = "TD_CMD_CTRL"; - #binding-cells = <0>; - bindings = <&kp LEFT_COMMAND>, <&kp LCTRL>; + home_row_mod_right: home_row_mod_right { + compatible = "zmk,behavior-hold-tap"; + label = "HOME_ROW_MOD_RIGHT"; + bindings = <&kp>, <&kp>; + + #binding-cells = <2>; + tapping-term-ms = <200>; + quick-tap-ms = <175>; + require-prior-idle-ms = <150>; + flavor = "balanced"; + hold-trigger-key-positions = <0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29 40 39 38 30>; + hold-trigger-on-release; + }; + + home_row_mod_left: home_row_mod_left { + compatible = "zmk,behavior-hold-tap"; + label = "HOME_ROW_MOD_LEFT"; + bindings = <&kp>, <&kp>; + + #binding-cells = <2>; + tapping-term-ms = <200>; + quick-tap-ms = <175>; + require-prior-idle-ms = <150>; + flavor = "balanced"; + hold-trigger-on-release; + hold-trigger-key-positions = <6 7 8 9 10 11 18 19 20 21 22 23 31 32 33 34 35 36 37 41 42 43>; }; }; @@ -75,10 +96,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 -< 3 ESCAPE &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT -&td_cmd_ctrl &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 &vim_save - &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 +< 3 ESCAPE &kp A &kp S &kp D &home_row_mod_left LEFT_COMMAND F &kp G &kp H &home_row_mod_right RIGHT_COMMAND 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 &vim_save + &kp LALT &td_mo_1 &kp SPACE &kp ENTER &td_mo_2 &kp LEFT_SHIFT >; sensor-bindings =