Skip to content

Commit

Permalink
cleanup, add hrm, add osm
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Nov 5, 2024
1 parent 7c09733 commit 6bb595d
Showing 1 changed file with 49 additions and 19 deletions.
68 changes: 49 additions & 19 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -169,6 +203,11 @@
bindings = <&caps_word>;
key-positions = <12 17>;
};

mousemiddle {
bindings = <&mkp MCLK>;
key-positions = <32 31>;
};
};

keymap {
Expand All @@ -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 &lt 5 K &bhm RIGHT_ALT K &bhm RIGHT_GUI L &bhm RIGHT_SHIFT SLASH
&kp Z &kp X &kp C &kp V &lt 3 B &lt 7 N &lt 6 M &kp COMMA &kp DOT &kp ENTER
&kp LEFT_GUI &lt 1 SPACE &kp LCTRL &lt 1 DELETE &lt 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 &lt 3 B &lt 6 N &lt 5 M &kp COMMA &kp DOT &kp LEFT_SHIFT
&mkp LCLK &lt 1 SPACE &mkp RCLK &lt 1 ENTER &lt 2 BACKSPACE
>;
};

Expand All @@ -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
>;
};

Expand All @@ -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
Expand Down

0 comments on commit 6bb595d

Please sign in to comment.