aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack <[email protected]>2022-08-25 03:10:05 -0600
committerjack <[email protected]>2022-08-25 03:10:05 -0600
commitec35bd801fbe2528b6f7b03300ca23c1fbb209e9 (patch)
tree45340048e595a9369dcf026a03af90c6d57bf166
parent1cdbe9bc0cf224640d43c378d31b04573375115b (diff)
downloadzmk_build-ec35bd801fbe2528b6f7b03300ca23c1fbb209e9.tar.gz
zmk_build-ec35bd801fbe2528b6f7b03300ca23c1fbb209e9.zip
tap dances
-rw-r--r--config/corne.keymap35
1 files changed, 34 insertions, 1 deletions
diff --git a/config/corne.keymap b/config/corne.keymap
index 3062351..491914e 100644
--- a/config/corne.keymap
+++ b/config/corne.keymap
@@ -14,7 +14,7 @@
&trans &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &trans
&trans HRML(A, S, D, F) &kp G &kp H HRMR(J, K, L, SEMI) &trans
&trans &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &trans
- &trans &mo 1 &kp SPACE &kp BSPC &mo 2 &kp RC(RS(V))
+ &updir &esclwr &kp SPACE &kp BSPC &pstrse &pnp
>;
};
num {
@@ -45,6 +45,39 @@
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
+
+ esclwr: escape_lower {
+ compatible = "zmk,behavior-tap-dance";
+ label = "ESCAPE_LOWER";
+ #binding-cells = <0>;
+ tapping-term-ms = <120>;
+ bindings = <&kp ESC>, <&mo 1>;
+ };
+
+ pstrse: paste_raise {
+ compatible = "zmk,behavior-tap-dance";
+ label = "PASTE_RAISE";
+ #binding-cells = <0>;
+ tapping-term-ms = <120>;
+ bindings = <&kp RC(RS(V))>, <&mo 2>;
+ };
+
+ pnp: play_next_prev {
+ compatible = "zmk,behavior-tap-dance";
+ label = "PLAY_NEXT_PREV";
+ #binding-cells = <0>;
+ tapping-term-ms = <120>;
+ bindings = <&kp C_PLAY>, <&kp C_NEXT>, <&kp C_PREV>;
+ };
+ };
+
+ macros {
+ updir: updir {
+ label = "UP_DIR";
+ compatible = "zmk,behavior-macro";
+ #binding-cells = <0>;
+ bindings = <&macro_tap &kp DOT &kp DOT &kp FSLH>;
+ };
};
combos {