Skip to content

Commit

Permalink
Trying HRM
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Nov 21, 2024
1 parent 03a7407 commit f23be7b
Showing 1 changed file with 36 additions and 8 deletions.
44 changes: 36 additions & 8 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,45 @@
mods = <(MOD_LCTL)>;
keep-mods = <(MOD_LCTL)>;
};

left_hrm: left_hrm {
compatible = "zmk,behavior-hold-tap";
label = "LEFT_HRM";
bindings = <&kp>, <&kp>;

#binding-cells = <2>;
hold-trigger-key-positions = <39 40 41 38 36 37 6 7 8 9 10 11 18 19 20 21 22 23 30 31 32 33 34 35>;
flavor = "balanced";
tapping-term-ms = <400>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
hold-trigger-on-release;
};

right_hrm: right_hrm {
compatible = "zmk,behavior-hold-tap";
label = "RIGHT_HRM";
bindings = <&kp>, <&kp>;

#binding-cells = <2>;
tapping-term-ms = <400>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
flavor = "balanced";
hold-trigger-key-positions = <27 0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29 36 37 38 39 40 41>;
hold-trigger-on-release;
};
};

keymap {
compatible = "zmk,keymap";

default_layer {
bindings = <
&mt LEFT_COMMAND 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 PERIOD &kp SLASH &mt RIGHT_ALT ENTER
&ctrl_tab_bh &kp SPACE &mo 1 &space_bh &lt 2 ENTER &kp RIGHT_SHIFT
&none &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &none
&none &kp A &left_hrm LEFT_CONTROL S &left_hrm LEFT_ALT D &left_hrm LEFT_COMMAND F &left_hrm LEFT_SHIFT G &kp H &right_hrm RIGHT_COMMAND J &right_hrm RIGHT_ALT K &right_hrm RIGHT_CONTROL L &kp SEMICOLON &none
&none &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp PERIOD &kp SLASH &none
&kp TAB &kp SPACE &mo 1 &kp BACKSPACE &lt 2 ENTER &kp RIGHT_SHIFT
>;
};

Expand All @@ -70,10 +98,10 @@

raise_layer {
bindings = <
&trans &none &none &none &none &none &none &kp LEFT_BRACKET &kp UP_ARROW &kp RIGHT_BRACKET &none &kp DELETE
&trans &none &none &none &none &none &none &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &none &trans
&trans &none &none &none &none &none &kp HOME &kp PAGE_DOWN &kp PAGE_UP &kp END &kp BACKSLASH &trans
&trans &trans &kp LEFT_ALT &none &none &none
&trans &none &none &none &none &none &none &kp LEFT_BRACKET &kp UP_ARROW &kp RIGHT_BRACKET &kp DOUBLE_QUOTES &trans
&trans &none &kp LEFT_CONTROL &kp LEFT_ALT &kp LEFT_COMMAND &kp LEFT_SHIFT &none &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &kp SQT &trans
&trans &none &none &none &none &none &kp HOME &kp PAGE_DOWN &kp PAGE_UP &kp END &kp BACKSLASH &trans
&trans &trans &trans &none &none &none
>;
};

Expand Down

0 comments on commit f23be7b

Please sign in to comment.