diff --git a/config/base.keymap b/config/base.keymap index d1d14f6..66851d6 100644 --- a/config/base.keymap +++ b/config/base.keymap @@ -27,16 +27,20 @@ /* Behavior Settings */ &sk { - release-after-ms = <250>; + release-after-ms = <5000>; quick-release; }; -&sl { - release-after-ms = <250>; -}; - / { behaviors { + lts: layer_tap_sticky { + compatible = "zmk,behavior-hold-tap"; + label = "LAYER_TAP_STICKY"; + #binding-cells = <2>; + flavor = "tap-preferred"; + tapping-term-ms = <200>; + bindings = <&mo>, <&sk>; + }; mtl: mod_tap_left { compatible = "zmk,behavior-hold-tap"; label = "MOD_TAP_LEFT"; @@ -79,7 +83,7 @@ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 */ + 26 27 28 29 */ /* Letters */ v { key-positions = <1 2>; bindings = <&kp V>; layers = ; }; @@ -107,7 +111,7 @@ &kp X &kp C &kp L &kp F &kp P &kp K &kp Y &kp O &kp U &kp QUOT &kp R &kp S &kp N &kp T &kp B &kp J &kp H &kp E &kp I &kp A &kp W &kp M &kp G &kp D &kp COMMA &kp DOT - &sl NAV_L &kp SPACE &sk LSHFT &sl SYM_L + &none < NAV_L SPACE <s SYM_L LSHFT &none >; }; nav_layer { @@ -116,7 +120,7 @@ &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp PG_UP &kp ESC &kp UARW &kp TAB &kp HOME &kp LGUI &kp LALT &kp LSHFT &kp LCTRL &kp UNDO &kp PG_DN &kp LARW &kp ENTER &kp RARW &kp END &kp CUT &kp COPY &kp PASTE &kp BSPC &kp DARW &kp DEL - &trans &trans &trans &trans + &trans &mo NAV_L &mo SYM_L &trans >; }; sym_layer { @@ -125,7 +129,7 @@ &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp SEMI &kp COLON &kp QMARK &kp TILDE &kp EQUAL &kp MINUS &kp FSLH &kp GRAVE &kp BSLH &kp LCTRL &kp LSHFT &kp LALT &kp LGUI &kp UNDER &kp PLUS &kp ASTRK &kp PIPE &kp LT &kp GT - &trans &trans &trans &trans + &trans &trans &trans &trans >; }; num_layer { @@ -134,7 +138,7 @@ &none &none &none &none &none &none &none &none &none &none &mtl LGUI N1 &mtl LALT N2 &mtl LSHFT N3 &mtl LCTRL N4 &kp N5 &kp N6 &mtr LCTRL N7 &mtr LSHFT N8 &mtr LALT N9 &mtr LGUI N0 &none &none &none &none &none &none - &trans &trans &trans &trans + &trans &trans &trans &trans >; }; };