Skip to content

Commit d3b7a06

Browse files
committed
Try swapper with zmkfirmware/zmk#1366
1 parent 74a236a commit d3b7a06

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

config/3x5.keymap

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@
7575
flavor = "balanced";
7676
bindings = <&mo>, <&bstab>;
7777
};
78+
79+
// Swapper for smart alt+tab
80+
swapper: swapper {
81+
compatible = "zmk,behavior-smart-interrupt";
82+
label = "SWAPPER";
83+
#binding-cells = <0>;
84+
bindings = <&kt LALT>, <&kp TAB>, <&kt LALT>;
85+
shared-key-positions = <21>;
86+
};
7887
};
7988

8089
cond_layers {
@@ -187,7 +196,7 @@
187196
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
188197
&kp LCTRL &kp LGUI &kp LALT &am LSHFT TAB &kp C_VOL_DN &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp C_AL_CALC
189198
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
190-
&none &none &none &kp LS(INS) &kp C_PP &kp INS &kp DEL &kp C_PREV &kp C_NEXT &none
199+
&none &kp LS(TAB) &swapper &kp LS(INS) &kp C_PP &kp INS &kp DEL &kp C_PREV &kp C_NEXT &none
191200
// ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
192201
#ifdef THREE_THUMBS
193202
&kp LGUI &kp LCTRL &trans &trans &kp LSHFT &kp RALT

0 commit comments

Comments
 (0)