From 6bb595dca4a11e429f43ba54ac6f67db1111d23a Mon Sep 17 00:00:00 2001 From: "keymap-editor[bot]" <91849743+keymap-editor[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:56:57 +0000 Subject: [PATCH] cleanup, add hrm, add osm --- config/charybdis.keymap | 68 +++++++++++++++++++++++++++++------------ 1 file changed, 49 insertions(+), 19 deletions(-) diff --git a/config/charybdis.keymap b/config/charybdis.keymap index 6c88b13..1d59435 100644 --- a/config/charybdis.keymap +++ b/config/charybdis.keymap @@ -65,12 +65,46 @@ bhm: balanced_homerow_mods { compatible = "zmk,behavior-hold-tap"; #binding-cells = <2>; - tapping-term-ms = <300>; - quick-tap-ms = <175>; + tapping-term-ms = <275>; + quick-tap-ms = <200>; require-prior-idle-ms = <150>; flavor = "balanced"; bindings = <&kp>, <&kp>; }; + + td_osmctrl: td_osmctrl { + compatible = "zmk,behavior-tap-dance"; + label = "TD_OSMCTRL"; + #binding-cells = <0>; + bindings = <&bhm A LCTRL>, <&sk LCTRL>, <&none>; + + tapping-term-ms = <250>; + }; + + td_osmalt: td_osmalt { + compatible = "zmk,behavior-tap-dance"; + label = "TD_OSMALT"; + #binding-cells = <0>; + tapping-term-ms = <250>; + bindings = <&bhm LEFT_ALT S>, <&sk LEFT_ALT>; + }; + + td_osmgui: td_osmgui { + compatible = "zmk,behavior-tap-dance"; + label = "TD_OSMGUI"; + #binding-cells = <0>; + bindings = <&bhm LEFT_GUI D>, <&sk LEFT_GUI>; + + tapping-term-ms = <250>; + }; + + td_osmshift: td_osmshift { + compatible = "zmk,behavior-tap-dance"; + label = "TD_OSMSHIFT"; + #binding-cells = <0>; + tapping-term-ms = <250>; + bindings = <&bhm LSHIFT F>, <&sk LSHIFT>; + }; }; combos { @@ -169,6 +203,11 @@ bindings = <&caps_word>; key-positions = <12 17>; }; + + mousemiddle { + bindings = <&mkp MCLK>; + key-positions = <32 31>; + }; }; keymap { @@ -177,10 +216,10 @@ Base { label = "Base"; bindings = < - &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P - &bhm LEFT_SHIFT A &bhm LEFT_GUI S &bhm LEFT_ALT D &kp F &kp G &kp H < 5 K &bhm RIGHT_ALT K &bhm RIGHT_GUI L &bhm RIGHT_SHIFT SLASH - &kp Z &kp X &kp C &kp V < 3 B < 7 N < 6 M &kp COMMA &kp DOT &kp ENTER - &kp LEFT_GUI < 1 SPACE &kp LCTRL < 1 DELETE < 2 BACKSPACE + &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P + &td_osmctrl &td_osmalt &td_osmgui &td_osmshift &kp G &kp H &bhm LEFT_SHIFT K &bhm LEFT_GUI K &bhm LEFT_ALT L &bhm LCTRL SLASH + &kp Z &kp X &kp C &kp V < 3 B < 6 N < 5 M &kp COMMA &kp DOT &kp LEFT_SHIFT + &mkp LCLK < 1 SPACE &mkp RCLK < 1 ENTER < 2 BACKSPACE >; }; @@ -197,10 +236,10 @@ Raise { label = "Raise"; bindings = < - &kp N0 &kp N1 &kp N2 &kp N3 &kp MINUS &kp UNDER &kp AT &kp GRAVE &kp CARET &kp SEMI - &kp ASTERISK &kp N4 &kp N5 &kp N6 &kp PLUS &kp PERCENT &kp HASH &kp SINGLE_QUOTE &kp DOUBLE_QUOTES &kp COLON - &kp SLASH &kp N7 &kp N8 &kp N9 &kp EQUAL &kp DOLLAR &kp AMPS &kp TILDE &kp PIPE &kp BACKSLASH - &kp LEFT &kp RIGHT &trans &trans &trans + &kp N0 &kp N1 &kp N2 &kp N3 &kp PLUS &kp PERCENT &kp AT &kp CARET &kp GRAVE &kp SEMI + &kp ASTERISK &kp N4 &kp N5 &kp N6 &kp MINUS &kp UNDER &kp AMPERSAND &kp SINGLE_QUOTE &kp DOUBLE_QUOTES &kp COLON + &kp EQUAL &kp N7 &kp N8 &kp N9 &kp UP &kp DOLLAR &kp HASH &kp TILDE &kp PIPE &kp BACKSLASH + &kp LEFT &kp DOWN &kp RIGHT &trans &trans >; }; @@ -224,15 +263,6 @@ >; }; - Mouse { - bindings = < - &trans &trans &trans &trans &trans &trans &trans &trans &trans &none - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans - &none &trans &trans &trans &trans &none &kp LEFT_SHIFT &trans &trans &trans - &mkp LCLK &mkp MCLK &mkp RCLK &trans &trans - >; - }; - macro-1 { bindings = < &kp LG(N1) &kp LG(N2) &kp LG(N3) &none &none &none &none &none &none &none