Skip to content

Commit

Permalink
keymap: add dedicated homerow mod behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigol committed Aug 7, 2024
1 parent f5d5354 commit 205cca5
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions config/sofle.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,22 @@
// Hyper key shortcut
#define LHYP LS(LC(LA(LGUI)))

&mt {
tapping-term-ms = <175>;
flavor = "tap-preferred";
quick-tap-ms = <100>;
require-prior-idle-ms = <100>;
};

/ {

behaviors {
hm: homerow-mods {
compatible = "zmk,behavior-hold-tap";
label = "homerow-mods";
#binding-cells = <2>;
tapping-term-ms = <175>;
flavor = "tap-preferred";
quick-tap-ms = <100>;
require-prior-idle-ms = <100>;
global-quick-tap;
bindings = <&kp>, <&kp>;
};
};

// Activate ADJUST layer by pressing raise and lower
conditional_layers {
compatible = "zmk,conditional-layers";
Expand All @@ -50,7 +57,7 @@
bindings = <
&mt LHYP GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &mt LHYP 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 &mt LCTRL A &mt LALT S &mt LGUI D &mt LSHFT F &kp G &kp H &mt RSHFT J &mt RGUI K &mt LALT L &mt RCTRL SEMI &mt RCTRL SQT
&hm LCTRL ESC &hm LCTRL A &hm LALT S &hm LGUI D &hm LSHFT F &kp G &kp H &hm RSHFT J &hm RGUI K &hm LALT L &hm RCTRL 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 205cca5

Please sign in to comment.