Skip to content

Commit 770fda7

Browse files
committed
Add click&paste macro
1 parent b81a410 commit 770fda7

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

config/charybdis.keymap

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@
9595
};
9696
};
9797

98+
macros {
99+
click_paste: click_paste {
100+
compatible = "zmk,behavior-macro";
101+
#binding-cells = <0>;
102+
bindings
103+
= <&macro_tap &mkp MB1>
104+
, <&macro_press &kp LC(V)>
105+
;
106+
};
107+
};
108+
98109
behaviors {
99110
/* Fancy alt-tab on single key. Might remove timeout to get used to interrup
100111
ting with a key */
@@ -374,7 +385,7 @@ __ &kp GRAVE &kp TILDE &kp PIPE &mt BACKSLASH SLASH __
374385
bindings = <
375386
__ __ __ __ __ __ __ __ __ __ __ __
376387
__ __ __ __ __ __ __ __ __ __ __ __
377-
__ __ __ __ __ __ __ &mkp MB1 &mkp MB2 &mkp MB3 __ __
388+
__ __ __ __ __ __ &click_paste &mkp MB1 &mkp MB2 &mkp MB3 __ __
378389
__ __ &mo SCROLL &mo SLOW __ __ __ __ &mo SLOW &mo SCROLL __ __
379390
__ &mkp MB3 &mkp MB2 &mkp MB1 __ __ __ __
380391
>;
@@ -477,7 +488,7 @@ __ &el_zeta &el_xi &el_chi &el_final_sigma &el_beta
477488
WIN {
478489
bindings = <
479490
&kp F12 __ __ __ __ __ &kp INS &kp PRINTSCREEN &kp SCROLLLOCK &kp PAUSE_BREAK &kp KP_NUMLOCK &kp F11
480-
&kp LG(LS(S)) &kp LG(TAB) &kp LG(LC(LEFT)) &kp LG(UP) &kp LG(LC(RIGHT)) &kp LG(LC(D)) __ __ __ __ __ __
491+
&kp LG(LS(S)) &kp LG(TAB) &kp LG(LC(LEFT)) &kp LG(UP) &kp LG(LC(RIGHT)) &kp LG(LC(D)) __ __ __ __ __ __
481492
__ &kp LC(A) &kp LG(LEFT) &kp LG(DOWN) &kp LG(RIGHT) &kp LG(LC(T)) __ __ __ __ __ __
482493
__ &kp LC(Z) &kp LG(LS(LEFT)) &kp LG(COMMA) &kp LG(LS(RIGHT)) &kp LS(INS) __ __ __ __ __ __
483494
&kp ENTER __ &kp TAB &kp SPACE __ __ __ &sk LEFT_SHIFT

0 commit comments

Comments
 (0)