diff --git a/config/keymap/behaviors.dtsi b/config/keymap/behaviors.dtsi index 1d92db1..f7f2b6f 100644 --- a/config/keymap/behaviors.dtsi +++ b/config/keymap/behaviors.dtsi @@ -62,14 +62,14 @@ // home row mod -#define HM(NAME, TAP, HT_KEYPOS, ...) \ +#define HM(NAME, TAP, HT_KEYPOS, RPI, ...) \ NAME: NAME { \ compatible = "zmk,behavior-hold-tap"; \ #binding-cells = <2>; \ flavor = "balanced"; \ tapping-term-ms = <280>; \ quick-tap-ms = <175>; \ - require-prior-idle-ms = <150>; \ + require-prior-idle-ms = ; \ bindings = <&kp>, ; \ hold-trigger-key-positions = ; \ hold-trigger-on-release; \ @@ -78,13 +78,15 @@ / { behaviors { - HM(hml, &kp, KEYS_R) - HM(hml_hwu, &kp, KEYS_R, hold-while-undecided;) - HM(hml_m, &mkp, KEYS_R) - HM(hmr, &kp, KEYS_L) - HM(hmr_hwu, &kp, KEYS_L, hold-while-undecided;) + HM(hsl, &kp, KEYS_R, 0, hold-while-undecided;) + HM(hcl, &kp, KEYS_R, 200, hold-while-undecided;) + HM(hml, &kp, KEYS_R, 200) + HM(hml_m, &mkp, KEYS_R, 200) + HM(hsr, &kp, KEYS_L, 0, hold-while-undecided;) + HM(hcr, &kp, KEYS_L, 200, hold-while-undecided;) + HM(hmr, &kp, KEYS_L, 200) }; -}; +};e // mod morph diff --git a/config/keymap/keymap.dtsi b/config/keymap/keymap.dtsi index ad84c09..a3509aa 100644 --- a/config/keymap/keymap.dtsi +++ b/config/keymap/keymap.dtsi @@ -52,15 +52,15 @@ default_layer { display-name = "DEF"; bindings = ; }; @@ -70,7 +70,7 @@ // ╭─────────────┬────────────────┬─────────────────┬──────────────────┬──────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ &none, &p_tab_desk, &n_tab_desk, &alt_tabber, &close_reopen, &kp PG_UP, CT(HOME), &kp UP, CT(END), &none, \ // ├─────────────┼────────────────┼─────────────────┼──────────────────┼──────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ - &kp LGUI, &hml_m LALT MB4, &hml_m LCTRL MB5, &hml LSHFT LC(F), &kp LC(A), &kp PG_DN, &kp LEFT, &kp DOWN, &kp RIGHT, &sel_word, \ + &kp LGUI, &hml_m LALT MB4, &hml_m LCTRL MB5, &hsl LSHFT LC(F), &kp LC(A), &kp PG_DN, &kp LEFT, &kp DOWN, &kp RIGHT, &sel_word, \ // ├─────────────┼────────────────┼─────────────────┼──────────────────┼──────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ &kp U_UND, &kp U_CUT, &kp U_CPY, &mt U_PST_P U_PST, &kp U_RDO, &none, &kp BSPC, &kp TAB, &kp DEL, &none, \ // ╰─────────────┴────────────────┴─────────────────┼──────────────────┼──────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯