Skip to content

Commit

Permalink
BIG CHANGE: Implemented Timerless Home Row Mods (By Urob)
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] authored Jun 11, 2024
1 parent 96af2e5 commit 09b0752
Showing 1 changed file with 35 additions and 24 deletions.
59 changes: 35 additions & 24 deletions config/klor.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@

/ {
behaviors {
hm: homerow_mods {
left_hand_hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS";
#binding-cells = <2>;
tapping-term-ms = <150>;
tapping-term-ms = <280>;
quick_tap_ms = <0>;
flavor = "tap-preferred";
flavor = "balanced";
bindings = <&kp>, <&kp>;

quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
hold-trigger-key-positions = <5 6 7 8 9 16 17 18 19 20 21 29 30 31 32 33 34 35 40 41 42 43>;
hold-trigger-on-release;
};

cecedilha: cecedilha {
Expand Down Expand Up @@ -81,15 +86,6 @@
mods = <(MOD_LALT|MOD_RALT)>;
};

command_H_hash: command_H_hash {
compatible = "zmk,behavior-mod-morph";
label = "COMMAND_H_HASH";
bindings = <&mt RIGHT_COMMAND H>, <&kp HASH>;

#binding-cells = <0>;
mods = <(MOD_LALT|MOD_RALT)>;
};

control_A_feminine_ordinal: control_A_feminine_ordinal {
compatible = "zmk,behavior-mod-morph";
label = "CONTROL_A_FEMININE_ORDINAL";
Expand Down Expand Up @@ -141,7 +137,7 @@
control_H_hash: control_H_hash {
compatible = "zmk,behavior-mod-morph";
label = "CONTROL_H_HASH";
bindings = <&hm RIGHT_CONTROL H>, <&kp HASH>;
bindings = <&right_hand_hm RIGHT_CONTROL H>, <&kp HASH>;

#binding-cells = <0>;
mods = <(MOD_LALT|MOD_RALT)>;
Expand All @@ -150,7 +146,7 @@
alt_S_dollar: alt_S_dollar {
compatible = "zmk,behavior-mod-morph";
label = "ALT_S_DOLLAR";
bindings = <&hm RIGHT_ALT S>, <&kp DOLLAR>;
bindings = <&right_hand_hm RIGHT_ALT S>, <&kp DOLLAR>;

#binding-cells = <0>;
mods = <(MOD_LALT|MOD_RALT)>;
Expand Down Expand Up @@ -186,10 +182,10 @@
alt_i_pipe: alt_i_pipe {
compatible = "zmk,behavior-mod-morph";
label = "ALT_I_PIPE";
bindings = <&hm LEFT_ALT I>, <&kp PIPE>;
bindings = <&left_hand_hm LEFT_ALT I>, <&kp PIPE>;

#binding-cells = <0>;
mods = <(MOD_LALT|MOD_RALT)>;
mods = <(MOD_RALT)>;
};

U_underscore: U_underscore {
Expand Down Expand Up @@ -245,6 +241,21 @@
#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

right_hand_hm: right_hand_hm {
compatible = "zmk,behavior-hold-tap";
label = "RIGHT_HAND_HM";
#binding-cells = <2>;
tapping-term-ms = <280>;
quick_tap_ms = <0>;
flavor = "balanced";
bindings = <&kp>, <&kp>;

quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
hold-trigger-on-release;
hold-trigger-key-positions = <0 1 2 3 4 10 11 12 13 14 15 22 23 24 25 26 27 28 36 37 38 39>;
};
};

combos {
Expand Down Expand Up @@ -341,10 +352,10 @@

engram_layer {
bindings = <
&B_Ampersand &kp Y &o_masculine_ordinal &U_underscore &kp Z &kp J &kp L &kp D &kp W &kp Q
&trans &cecedilha &alt_i_pipe &hm LEFT_COMMAND E &control_A_feminine_ordinal &comma_slash &dot_colon &command_H_hash &hm RIGHT_COMMAND T &alt_S_dollar &kp N &trans
&trans &lt 1 V &X_percentage &kp G &kp K &kp APOS &kp C_PLAY &kp C_PAUSE &question_exclamation &kp R &kp M &kp F &kp P &trans
&backspace_delete &hm LEFT_SHIFT SPACE &lt 3 TAB &trans &trans &super_shift &lt 2 ENTER &lt 3 ESC
&B_Ampersand &kp Y &o_masculine_ordinal &U_underscore &kp Z &kp J &kp L &kp D &kp W &kp Q
&trans &cecedilha &alt_i_pipe &left_hand_hm LEFT_COMMAND E &control_A_feminine_ordinal &comma_slash &dot_colon &control_H_hash &right_hand_hm RIGHT_COMMAND T &alt_S_dollar &kp N &trans
&trans &lt 1 V &X_percentage &kp G &kp K &kp APOS &kp C_PLAY &kp C_PAUSE &question_exclamation &kp R &kp M &kp F &kp P &trans
&backspace_delete &left_hand_hm LEFT_SHIFT SPACE &lt 3 TAB &trans &trans &super_shift &lt 2 ENTER &lt 3 ESC
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp C_NEXT C_PREV>;
Expand Down Expand Up @@ -386,10 +397,10 @@

qwerty_layer {
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&trans &lt 1 A &hm LEFT_ALT S &hm LEFT_COMMAND D &hm LEFT_CONTROL F &kp G &kp H &hm RIGHT_CONTROL J &hm LEFT_COMMAND K &hm RIGHT_ALT L &kp SEMI &trans
&trans &kp Z &kp X &cecedilha &kp V &kp B &trans &trans &kp N &kp M &comma_slash &dot_colon &question_exclamation &trans
&trans &trans &trans &trans &trans &trans &trans &trans
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&trans &lt 1 A &left_hand_hm LEFT_ALT S &left_hand_hm LEFT_COMMAND D &left_hand_hm LEFT_CONTROL F &kp G &kp H &right_hand_hm RIGHT_CONTROL J &right_hand_hm LEFT_COMMAND K &right_hand_hm RIGHT_ALT L &kp SEMI &trans
&trans &kp Z &kp X &cecedilha &kp V &kp B &trans &trans &kp N &kp M &comma_slash &dot_colon &question_exclamation &trans
&trans &trans &trans &trans &trans &trans &trans &trans
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
Expand Down

0 comments on commit 09b0752

Please sign in to comment.