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 Jul 20, 2022
1 parent 95811db commit 666579d
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 @@ -75,6 +75,15 @@
flavor = "balanced";
bindings = <&mo>, <&bstab>;
};

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

cond_layers {
Expand Down Expand Up @@ -187,7 +196,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 666579d

Please sign in to comment.