Skip to content

Commit

Permalink
keymap: homerow shift is hold-preferred
Browse files Browse the repository at this point in the history
  • Loading branch information
wigol committed Aug 7, 2024
1 parent 68abf5d commit e2cfe2d
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions config/sofle.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@
hold-trigger-on-release;
hold-trigger-key-positions = <6 7 8 9 10 11 18 19 20 21 22 23 30 31 32 33 34 35 43 44 45 46 47 48 49 55 56 57 58 59 50 51 52 53 54>;
};
lhms: left_homerow_mods_shift {
compatible = "zmk,behavior-hold-tap";
label = "left-homerow-mods-shift";
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
global-quick-tap;
bindings = <&kp>, <&kp>;
hold-trigger-on-release;
hold-trigger-key-positions = <6 7 8 9 10 11 18 19 20 21 22 23 30 31 32 33 34 35 43 44 45 46 47 48 49 55 56 57 58 59 50 51 52 53 54>;
};
rhm: right_homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "right-homerow-mods";
Expand All @@ -64,6 +77,19 @@
hold-trigger-on-release;
hold-trigger-key-positions = <0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29 36 37 38 40 39 50 51 52 53 54 55 56 57 58 59 17 29 41 42>;
};
rhms: right_homerow_mods_shift {
compatible = "zmk,behavior-hold-tap";
label = "right-homerow-mods-shift";
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
global-quick-tap;
bindings = <&kp>, <&kp>;
hold-trigger-on-release;
hold-trigger-key-positions = <0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29 36 37 38 40 39 50 51 52 53 54 55 56 57 58 59 17 29 41 42>;
};
};

// Activate ADJUST layer by pressing raise and lower
Expand All @@ -87,10 +113,10 @@
// | SHIFT | Z | X | C | V | B | MUTE | | PLAYP | N | M | , | . | / | SHIFT |
// |CTRL | ALT/[ |GUI/- | LOWER| ENTER | | SPACE | RAISE|GUI/= | ALT/] |CTRL |
bindings = <
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSLH
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&mt LCTRL ESC &lhm LGUI A &lhm LALT S &lhm LSHFT D &lhm LCTRL F &lhm LHYP G &lhm LHYP H &rhm RCTRL J &rhm RSHFT K &rhm LALT L &rhm RGUI SEMI &mt RCTRL SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp C_PP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSLH
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&mt LCTRL ESC &lhm LGUI A &lhm LALT S &lhms LSHFT D &lhm LCTRL F &lhm LHYP G &lhm LHYP H &rhm RCTRL J &rhms RSHFT K &rhm LALT L &rhm RGUI SEMI &mt RCTRL SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp C_PP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&mt LCTRL LA(Z) &mt LALT LBKT &mt LGUI MINUS &mo LOWER &kp RET &kp SPACE &mo RAISE &mt RGUI EQUAL &mt RALT RBKT &kp RCTRL
>;

Expand Down

0 comments on commit e2cfe2d

Please sign in to comment.