Skip to content

Commit

Permalink
cmd tab behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
akarsh1995 committed Sep 28, 2024
1 parent a8d158b commit 28758dd
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions config/corny.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,16 @@ ZMK_HOLD_TAP(hmr,
compatible = "zmk,keymap";

default_layer {
// -------------------------------------------------------------------------------------------------
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | BKSP |
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
// | SHFT | Z | X | C | V | B | MUTE | | | N | M | , | . | / | ESC |
// | GUI | LWR | SPC | | ENT | RSE | ALT |

bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp ESCAPE &kp A &kp S &kp D &hml LEFT_SHIFT F &hml LEFT_COMMAND G &hmr RIGHT_COMMAND H &hmr RIGHT_SHIFT J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &none &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
&kp LGUI &mo 1 &kp SPACE &kp ENTER &mo 2 &kp LALT
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp ESCAPE &kp A &kp S &kp D &hml LEFT_SHIFT F &hml LEFT_COMMAND G &hmr RIGHT_COMMAND H &hmr RIGHT_SHIFT J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp LEFT_COMMAND &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
&kp LEFT_SHIFT &mo 1 &kp SPACE &kp ENTER &mo 2 &kp LALT
>;

sensor-bindings =
<&inc_dec_kp C_VOL_DN C_VOL_UP>,
<&inc_dec_kp PG_UP PG_DN>;
<&inc_dec_kp LS(TAB) TAB>;
};

lower_layer {
Expand All @@ -62,10 +56,10 @@ ZMK_HOLD_TAP(hmr,
// | GUI | | SPC | | ENT | | ALT |

bindings = <
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &kp F12
&kp LSHFT &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &bootloader &bootloader &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
&kp LGUI &trans &trans &kp RET &kp SPACE &kp LALT
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &kp F12
&kp LSHFT &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &bootloader &bootloader &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
&kp LEFT_SHIFT &trans &trans &kp RET &kp SPACE &kp LALT
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
Expand All @@ -79,10 +73,10 @@ ZMK_HOLD_TAP(hmr,
// | GUI | | SPC | | ENT | | ALT |

bindings = <
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp BSPC
&kp LCTRL &trans &trans &kp LG(LEFT) &kp LG(RIGHT_ARROW) &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
&kp LSHFT &trans &kp LG(W) &kp LA(LG(LEFT)) &kp LA(LG(RIGHT_ARROW)) &trans &none &none &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
&kp LGUI &trans &trans &kp RET &kp SPACE &kp LALT
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp BSPC
&kp LCTRL &trans &trans &kp LG(LEFT) &kp LG(RIGHT_ARROW) &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
&kp LSHFT &trans &kp LG(W) &kp LA(LG(LEFT)) &kp LA(LG(RIGHT_ARROW)) &trans &none &none &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
&kp LEFT_SHIFT &trans &trans &kp RET &kp SPACE &kp LALT
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
Expand Down

0 comments on commit 28758dd

Please sign in to comment.