From 589e2047529fca859a057129f27fc9de1eacfa35 Mon Sep 17 00:00:00 2001 From: "keymap-editor[bot]" <91849743+keymap-editor[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:50:02 +0000 Subject: [PATCH] Major changes to layers and thumb clusters. Accents layer was deleted. Accents passed to numbers. Thumbs received hold for momentary layer and tap for sticky layer. --- config/klor.keymap | 62 ++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/config/klor.keymap b/config/klor.keymap index f90ba40..da35a88 100644 --- a/config/klor.keymap +++ b/config/klor.keymap @@ -188,6 +188,16 @@ #binding-cells = <0>; mods = <(MOD_LALT)>; }; + + hold_momentary_tap_sticky: hold_momentary_tap_sticky { + compatible = "zmk,behavior-hold-tap"; + label = "HOLD_MOMENTARY_TAP_STICKY"; + bindings = <&mo>, <&sl>; + + #binding-cells = <2>; + flavor = "tap-preferred"; + tapping-term-ms = <180>; + }; }; combos { @@ -218,16 +228,10 @@ require-prior-idle-ms = <150>; }; - to_layer_3 { - bindings = <&to 3>; - key-positions = <24 23>; - layers = <0 3 2 1>; - }; - - to_layer_2 { - bindings = <&to 2>; + backspace_delete { + bindings = <&backspace_delete>; key-positions = <25 24>; - layers = <0 3 2 1>; + layers = <0 2 1>; }; }; @@ -241,28 +245,16 @@ engram { bindings = < - &B_Ampersand &kp Y &o_masculine_ordinal &U_underscore &kp PT_APOSTROPHE &question_exclamation &L_pipe &kp D &kp W &kp J -&trans &shift_C_Cecedilha LEFT_SHIFT 0 &left_hand_hm LEFT_ALT I &left_hand_hm LEFT_COMMAND E &control_A_feminine_ordinal &comma_slash &dot_colon &H_hashtag &kp T &kp S &kp N &trans -&trans &kp V &kp X &kp G &kp K &kp Z &kp C_PLAY &kp C_PAUSE &kp Q &kp R &kp M &kp F &P_percentage &trans - &backspace_delete < 2 SPACE < 3 TAB &trans &trans &kp ENTER &ultimate_shift &sl 1 + &B_Ampersand &kp Y &o_masculine_ordinal &U_underscore &kp PT_APOSTROPHE &question_exclamation &L_pipe &kp D &kp W &kp J +&trans &shift_C_Cecedilha LEFT_SHIFT 0 &left_hand_hm LEFT_ALT I &left_hand_hm LEFT_COMMAND E &control_A_feminine_ordinal &comma_slash &dot_colon &H_hashtag &kp T &S_dollar &kp N &trans +&trans &kp V &kp X &kp G &kp K &kp Z &kp C_PLAY &kp C_PAUSE &kp Q &kp R &kp M &kp F &P_percentage &trans + &kp SPACE &hold_momentary_tap_sticky 1 1 &kp TAB &trans &trans &backspace_delete &ultimate_shift &hold_momentary_tap_sticky 2 2 >; sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp C_NEXT C_PREV>; label = "ENGRAM"; }; - accents_RGB { - bindings = < - &trans &trans &trans &trans &trans &rgb_ug RGB_HUI &rgb_ug RGB_EFF &rgb_ug RGB_BRI &rgb_ug RGB_SPI &rgb_ug RGB_SAI -&trans &trans &trans &trans &trans &trans &bt BT_NXT &kp PT_ACUTE &kp PT_TILDE &kp PT_CARET &kp PT_GRAVE &trans -&trans &trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_HUD &rgb_ug RGB_EFR &rgb_ug RGB_BRD &rgb_ug RGB_SPD &rgb_ug RGB_SAD &trans - &trans &trans &trans &trans &trans &trans &trans &to 0 - >; - - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>; - label = "Accents RGB"; - }; - Nav_Productivity { bindings = < &kp F2 &kp LG(F) &kp LG(LS(L)) &kp LA(PT_PERIOD) &kp LA(PT_N4) &kp K_SCROLL_UP &kp HOME &kp UP_ARROW &kp END &kp PAGE_UP @@ -276,13 +268,25 @@ Numbers_Symbols { bindings = < - &kp PT_LEFT_BRACKET &kp PT_RIGHT_BRACKET &kp PT_LEFT_PARENTHESIS &kp PT_RIGHT_PARENTHESIS &kp PT_EXCL &kp PT_HASH &kp PT_DOLLAR &kp PT_AT &kp PT_PERCENT &kp PT_AMPS -&trans &left_hand_hm LEFT_SHIFT PT_PLUS &left_hand_hm LEFT_ALT PT_MINUS &left_hand_hm LEFT_COMMAND PT_EQUAL &left_hand_hm LEFT_CONTROL PT_ASTERISK &kp PT_SLASH &kp PT_N0 &kp PT_N1 &kp PT_N2 &kp PT_N3 &kp PT_N4 &trans -&trans &kp PT_LEFT_BRACE &kp PT_RIGHT_BRACE &kp PT_LESS_THAN &kp PT_GREATER_THAN &kp PT_BACKSLASH &trans &trans &kp PT_N5 &kp PT_N6 &kp PT_N7 &kp PT_N8 &kp PT_N9 &trans - &trans &trans &trans &trans &trans &trans &trans &to 0 + &kp PT_LEFT_BRACKET &kp PT_RIGHT_BRACKET &kp PT_LEFT_PARENTHESIS &kp PT_RIGHT_PARENTHESIS &trans &trans &kp PT_ACUTE &kp PT_TILDE &kp PT_CARET &kp PT_GRAVE +&trans &left_hand_hm LEFT_SHIFT PT_PLUS &left_hand_hm LEFT_ALT PT_MINUS &left_hand_hm LEFT_COMMAND PT_EQUAL &left_hand_hm LEFT_CONTROL PT_ASTERISK &kp PT_SLASH &kp PT_N0 &kp PT_N1 &kp PT_N2 &kp PT_N3 &kp PT_N4 &trans +&trans &kp PT_LEFT_BRACE &kp PT_RIGHT_BRACE &kp PT_LESS_THAN &kp PT_GREATER_THAN &kp PT_BACKSLASH &trans &trans &kp PT_N5 &kp PT_N6 &kp PT_N7 &kp PT_N8 &kp PT_N9 &trans + &trans &trans &trans &trans &trans &trans &trans &to 0 >; label = "Numbers Symbols"; }; + + backup_for_accents { + label = "test"; + bindings = < + &trans &trans &trans &trans &trans &rgb_ug RGB_HUI &rgb_ug RGB_EFF &rgb_ug RGB_BRI &rgb_ug RGB_SPI &rgb_ug RGB_SAI +&trans &trans &trans &trans &trans &trans &bt BT_NXT &kp PT_ACUTE &kp PT_TILDE &kp PT_CARET &kp PT_GRAVE &trans +&trans &trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_HUD &rgb_ug RGB_EFR &rgb_ug RGB_BRD &rgb_ug RGB_SPD &rgb_ug RGB_SAD &trans + &trans &trans &trans &trans &trans &trans &trans &to 0 + >; + + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>; + }; }; };