Skip to content

Commit

Permalink
hold for left shift
Browse files Browse the repository at this point in the history
  • Loading branch information
hype08 committed Jan 8, 2025
1 parent 42a2930 commit a2a4515
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,6 @@
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};

sp_hyp: space_hyper {
compatible = "zmk,behavior-hold-tap";
label = "SPACE_HYPER";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick-tap-ms = <150>;
flavor = "balanced";
bindings = <&mo>, <&kp>;
};
};

combos {
compatible = "zmk,combos";
combo_hyper {
timeout-ms = <50>;
key-positions = <>;
bindings = <&kp LC(LS(LA(LGUI)))>;
};
};

keymap {
Expand All @@ -57,7 +38,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LCTRL &hm LCTRL A &hm LALT R &hm LGUI S &hm LSHFT T &kp G &kp M &hm RSHFT N &hm RGUI E &hm RALT I &hm RCTRL O &kp SQT
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp ESC &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&mt LSHFT ESC &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH &kp RSHFT
// ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LGUI &mo LOWER &mt LC(LS(LA(LGUI))) SPACE &kp RET &mo RAISE &kp RALT
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand All @@ -71,7 +52,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LCTRL &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &none
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp ESC &none &none &none &none &none &none &none &none &none &none &kp RSHFT
&mt LSHFT ESC &none &none &none &none &none &none &none &none &none &none &kp RSHFT
// ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LGUI &trans &trans &kp RET &mo ADJUST &kp RALT
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand All @@ -85,7 +66,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LCTRL &none &none &kp LBRC &kp RBRC &kp PIPE &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp BSLH &none
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp ESC &none &none &kp LBKT &kp RBKT &kp UNDER &none &none &none &none &none &kp RSHFT
&mt LSHFT ESC &none &none &kp LBKT &kp RBKT &kp UNDER &none &none &none &none &none &kp RSHFT
// ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LGUI &mo ADJUST &trans &kp RET &trans &kp RALT
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand All @@ -99,7 +80,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none &kp F12
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none &none &none &none &none &bt BT_CLR &none &none &none &none &none &none
&mt LSHFT ESC &none &none &none &none &bt BT_CLR &none &none &none &none &none &none
// ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&trans &trans &trans &trans &trans &trans
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand Down

0 comments on commit a2a4515

Please sign in to comment.