Skip to content

Commit

Permalink
Try swapper with zmkfirmware/zmk#1366
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Sep 1, 2022
1 parent 2750a0d commit 36d04be
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/3x5.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@
flavor = "balanced";
bindings = <&mo>, <&bstab>;
};

// Swapper for smart alt+tab
swapper: swapper {
compatible = "zmk,behavior-tri-state";
label = "SWAPPER";
#binding-cells = <0>;
bindings = <&kt LALT>, <&kp TAB>, <&kt LALT>;
ignored-key-positions = <21>;
};
};

cond_layers {
Expand Down Expand Up @@ -182,7 +191,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&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
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none &none &none &kp LS(INS) &kp C_PP &kp INS &kp DEL &kp C_PREV &kp C_NEXT &none
&none &kp LS(TAB) &swapper &kp LS(INS) &kp C_PP &kp INS &kp DEL &kp C_PREV &kp C_NEXT &none
// ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
#ifdef THREE_THUMBS
&kp LGUI &kp LCTRL &trans &trans &kp LSHFT &kp RALT
Expand Down

0 comments on commit 36d04be

Please sign in to comment.