Skip to content

Commit

Permalink
Introduce left->home, right->end tap dance.
Browse files Browse the repository at this point in the history
  • Loading branch information
deividaspetraitis committed Apr 25, 2024
1 parent 3be7ebd commit 4792709
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions config/think_corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
LEFT_HOME: tap_dance_left_home {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <130>;
bindings = <&kp LEFT>, <&kp HOME>;
};
RIGHT_END: tap_dance_right_end {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <130>;
bindings = <&kp RIGHT>, <&kp END>;
};
};

keymap {
Expand All @@ -69,10 +81,10 @@
};
lower_layer {
bindings = <
&kp N7 &kp N5 &kp N3 &kp N1 &kp N9 &kp N0 &kp N2 &kp N4 &kp N6 &kp N8 &kp RIGHT &kp BSPC
&trans &trans &trans &mkp LCLK &mkp RCLK &trans &trans &kp LEFT &trans &trans &trans &trans
&trans &trans &trans &kp DOWN &kp UP &trans &trans &trans &trans &trans &kp KP_MINUS &trans
&mo FUNC &lt LOWER ESC &kp SPACE &kp RET &mo RAISE &trans
&kp N7 &kp N5 &kp N3 &kp N1 &kp N9 &kp N0 &kp N2 &kp N4 &kp N6 &kp N8 &RIGHT_END &kp BSPC
&trans &trans &trans &mkp LCLK &mkp RCLK &trans &trans &LEFT_HOME &trans &trans &trans &trans
&trans &trans &trans &kp DOWN &kp UP &trans &trans &trans &trans &trans &kp KP_MINUS &trans
&mo FUNC &lt LOWER ESC &kp SPACE &kp RET &mo RAISE &trans
>;
};
raise_layer {
Expand Down

0 comments on commit 4792709

Please sign in to comment.