Skip to content

Commit 1ae7353

Browse files
feat: add email macros
1 parent 022f241 commit 1ae7353

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

config/eyelash_sofle.keymap

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@
3030

3131
/ {
3232

33+
macros {
34+
personal_email: personal_email {
35+
compatible = "zmk,behavior-macro";
36+
label = "PERSONAL_EMAIL";
37+
#binding-cells = <0>;
38+
bindings = <&kp P &kp E &kp R &kp S &kp O &kp N &kp A &kp L &kp E &kp M &kp A &kp I &kp L &kp AT &kp G &kp M &kp A &kp I &kp L &kp DOT &kp C &kp O &kp M>;
39+
};
40+
41+
spam_email: spam_email {
42+
compatible = "zmk,behavior-macro";
43+
label = "SPAM_EMAIL";
44+
#binding-cells = <0>;
45+
bindings = <&kp S &kp P &kp A &kp M &kp E &kp M &kp A &kp I &kp L &kp AT &kp G &kp M &kp A &kp I &kp L &kp DOT &kp C &kp O &kp M>;
46+
};
47+
};
48+
3349
scroll_encoder: scroll_encoder {
3450
compatible = "zmk,behavior-sensor-rotate";
3551
#sensor-binding-cells = <0>;
@@ -69,10 +85,10 @@
6985
layer_2 {
7086
bindings = <
7187
&kp TILDE &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &mmv MOVE_UP &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans
72-
&trans &bt BT_CLR &bt BT_CLR_ALL &trans &trans &trans &mmv MOVE_DOWN &trans &trans &kp F11 &kp F12 &kp UNDER &kp PLUS
73-
&trans &out OUT_USB &out OUT_BLE &trans &trans &trans &mmv MOVE_LEFT &kp LEFT_ARROW &kp DOWN_ARROW &kp UP_ARROW &kp RIGHT_ARROW &kp LBRC &kp RBRC
74-
&trans &sys_reset &trans &bootloader &trans &trans &mmv MOVE_RIGHT &trans &trans &sys_reset &soft_off &bootloader &trans
75-
&trans &trans &trans &trans &trans &trans &mkp LCLK &trans &trans &trans &trans &trans
88+
&trans &bt BT_CLR &bt BT_CLR_ALL &spam_email &personal_email &trans &mmv MOVE_DOWN &trans &trans &kp F11 &kp F12 &kp UNDER &kp PLUS
89+
&trans &out OUT_USB &out OUT_BLE &trans &trans &trans &mmv MOVE_LEFT &kp LEFT_ARROW &kp DOWN_ARROW &kp UP_ARROW &kp RIGHT_ARROW &kp LBRC &kp RBRC
90+
&trans &sys_reset &trans &bootloader &trans &trans &mmv MOVE_RIGHT &trans &trans &sys_reset &soft_off &bootloader &trans
91+
&trans &trans &trans &trans &trans &trans &mkp LCLK &trans &trans &trans &trans &trans
7692
>;
7793

7894
display-name = "LAYER2";

0 commit comments

Comments
 (0)