diff --git a/config/corne.keymap b/config/corne.keymap index 7e1d6fa..2c346e3 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -58,14 +58,14 @@ ZMK_MOD_MORPH(right_smart_shft, bindings = <&sk RSHFT>, <&caps_word>; mods = <(MOD_RSFT)>; ) -ZMK_BEHAVIOR(long_sk, sticky_key, - bindings = <&kp>; - quick-release; - release-after-ms = <2000>; -) +// ZMK_BEHAVIOR(long_sk, sticky_key, +// bindings = <&kp>; +// quick-release; +// release-after-ms = <2000>; +// ) ZMK_HOLD_TAP(ht_sk, flavor = "hold-preferred"; - bindings = <&kp>, <&long_sk>; + bindings = <&kp>, <&lsk>; tapping-term-ms = <200>; ) @@ -119,6 +119,14 @@ ZMK_HOLD_TAP(ht_tog, require-prior-idle-ms = <125>; bindings = <&kp>, <&kp>; }; + lsk: long_sticky_key { + compatible = "zmk,behavior-sticky-key"; + #binding-cells = <1>; + bindings = <&kp>; + release-after-ms = <2000>; + ignore-modifiers; + quick-release; + }; }; conditional_layers { compatible = "zmk,conditional-layers"; @@ -137,7 +145,7 @@ ZMK_HOLD_TAP(ht_tog, &rpi LGUI ESC &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMICOLON &rpi LGUI TAB &kp BSPC &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O &kp SQT &kp CAPS &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH &to FN - &ht_tog LALT NUM &rpi LEFT_CONTROL SPACE &left_smart_shift_num &right_smart_shift_num &rpi LGUI ENTER &mo SYM + &ht_sk LALT LA(LCTRL) &rpi LEFT_CONTROL SPACE &left_smart_shift_num &right_smart_shift_num &rpi LGUI ENTER &mo SYM >; }; diff --git a/draw/keymap.png b/draw/keymap.png index 3defc6e..4c43fbf 100644 Binary files a/draw/keymap.png and b/draw/keymap.png differ