Skip to content

Commit 1bfd8b1

Browse files
committed
Try swapper with zmkfirmware/zmk#1366
1 parent e2f0058 commit 1bfd8b1

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
@@ -73,6 +73,15 @@
7373
flavor = "balanced";
7474
bindings = <&mo>, <&bstab>;
7575
};
76+
77+
// Swapper for smart alt+tab
78+
swapper: swapper {
79+
compatible = "zmk,behavior-tri-state";
80+
label = "SWAPPER";
81+
#binding-cells = <0>;
82+
bindings = <&kt LALT>, <&kp TAB>, <&kt LALT>;
83+
ignored-key-positions = <21>;
84+
};
7685
};
7786

7887
cond_layers {
@@ -185,7 +194,7 @@
185194
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
186195
&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
187196
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
188-
&none &none &none &kp LS(INS) &kp C_PP &kp INS &kp DEL &kp C_PREV &kp C_NEXT &none
197+
&none &kp LS(TAB) &swapper &kp LS(INS) &kp C_PP &kp INS &kp DEL &kp C_PREV &kp C_NEXT &none
189198
// ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
190199
#ifdef THREE_THUMBS
191200
&kp LGUI &kp LCTRL &trans &trans &kp LSHFT &kp RALT

0 commit comments

Comments
 (0)