From 0bc1a798428cf74c4001bdebc4b21ad8f9ca2ce0 Mon Sep 17 00:00:00 2001 From: "keymap-editor[bot]" <91849743+keymap-editor[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:04:34 +0000 Subject: [PATCH] Home row --- config/corne.keymap | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/config/corne.keymap b/config/corne.keymap index 71774dc..ff53a19 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -25,15 +25,43 @@ }; }; + behaviors { + hmr: hmr { + compatible = "zmk,behavior-hold-tap"; + label = "HMR"; + bindings = <&kp>, <&kp>; + + #binding-cells = <2>; + flavor = "balanced"; + hold-trigger-key-positions = <24 25 26 27 28 29 17 16 15 14 13 12 0 1 2 3 4 5 38 37 36 39 40 41>; + require-prior-idle-ms = <150>; + tapping-term-ms = <280>; + hold-trigger-on-release; + }; + + hml: hml { + compatible = "zmk,behavior-hold-tap"; + label = "HML"; + bindings = <&kp>, <&kp>; + + #binding-cells = <2>; + tapping-term-ms = <280>; + require-prior-idle-ms = <150>; + hold-trigger-key-positions = <38 37 36 39 40 41 6 7 8 10 9 11 23 22 21 20 19 18 30 31 32 33 34 35>; + hold-trigger-on-release; + flavor = "balanced"; + }; + }; + keymap { compatible = "zmk,keymap"; default_layer { bindings = < -&kp ESCAPE &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BACKSPACE -&mt LEFT_CONTROL TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMICOLON &kp SQT -&mt LEFT_SHIFT GRAVE &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &mt LEFT_ALT SPACE - &mt LEFT_COMMAND TAB &kp SPACE &mo 1 &mo 2 &mt LEFT_SHIFT ENTER &kp LEFT_ALT +&kp ESCAPE &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DELETE +&kp TAB &hml LEFT_CONTROL A &hml LEFT_ALT S &hml LEFT_COMMAND D &hml LEFT_SHIFT F &kp G &kp H &hmr RIGHT_SHIFT J &hmr RIGHT_COMMAND K &hmr RIGHT_ALT L &hmr RIGHT_CONTROL SEMICOLON &kp SQT +&kp GRAVE &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &kp BACKSLASH + &kp ESCAPE &kp SPACE &mo 1 &mo 2 &kp ENTER &kp BACKSPACE >; };