From 9b02da1d8c66718c6b85603bde7262b6eae19e8b Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Mon, 11 Mar 2024 04:56:15 +0800 Subject: [PATCH] fix(sweep): re-add hm behavior --- config/cradio.keymap | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 9048f0d..7d43d7f 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -87,6 +87,14 @@ require-prior-idle-ms = <100>; bindings = <&mo>, <&mmzd>; }; + /omit-if-no-ref/ hm: homerow_mods { + compatible = "zmk,behavior-hold-tap"; + #binding-cells = <2>; + tapping-term-ms = <200>; + require-prior-idle-ms = <100>; + flavor = "tap-preferred"; + bindings = <&kp>, <&kp>; + }; }; keymap { compatible = "zmk,keymap"; @@ -100,7 +108,7 @@ &mmat &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ //│ Z │ X │ C │ D │ V │ │ K │ H │ ,< │ .> │ /? │ - <z FN Z < LCTRL X < RALT C < RGUI D < NAVI V &kp K < LGUI H < LALT COMMA < LCTRL DOT &kp FSLH + <z FN Z &hm LCTRL X &hm RALT C &hm RGUI D < NAVI V &kp K &hm LGUI H &hm LALT COMMA &hm LCTRL DOT &kp FSLH //╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯ &esc LCTRL ESC &mt LSHFT SPACE &rm RALT R <2 NUM NUM // esc gets thumb because of vim and as a safe key to verify layer 0 // ╰──────────┴──────────╯ ╰──────────┴──────────╯