diff --git a/config/3x5.keymap b/config/3x5.keymap index adc87122..a89963b3 100644 --- a/config/3x5.keymap +++ b/config/3x5.keymap @@ -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 { @@ -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