Skip to content

Commit

Permalink
add: Macro for spotlight
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-dee7 committed Mar 6, 2024
1 parent 795b2de commit e8210ed
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions config/adv360.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,28 @@
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};

macro_rectangle_app: macro_rectangle_app {
compatible = "zmk,behavior-macro";
label = "macro_rectangle_app";
#binding-cells = <0>;
bindings = <&kp LCTRL>, <&kp LEFT_ALT>;
};

};

keymap {
compatible = "zmk,keymap";

default_layer {
bindings = <
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 0 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp E &kp R &kp T &tog 1 &macro_rectangle_app &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp ESC &kp A &kp S &kp D &kp F &kp G &mo 2 &kp LEFT_COMMAND &kp LEFT_CONTROL &none &none &kp RIGHT_ALT &kp RIGHT_CONTROL &mo 1 &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &none &none &kp ESC &none &none &none &none &none &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&mo 2 &kp GRAVE &trans &kp LEFT &kp RIGHT &kp SPACE &kp BACKSPACE &kp LEFT_COMMAND &kp RIGHT_ALT &kp RIGHT_CONTROL &kp ENTER &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 2
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 0 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp E &kp R &kp T &tog 1 &none &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp ESC &kp A &kp S &kp D &kp F &kp G &mo 2 &mt LEFT_COMMAND SPACE &mt LEFT_CONTROL SPACE &sk LEFT_ALT &kp RCTRL &mo 1 &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &none &none &none &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&mo 2 &kp GRAVE &trans &kp LEFT &kp RIGHT &kp SPACE &kp BACKSPACE &kp LEFT_COMMAND &kp RIGHT_ALT &kp RIGHT_CONTROL &kp ENTER &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 2
>;
};

keypad {
bindings = <
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &trans &mo 3 &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS
&kp TAB &kp EXCLAMATION &kp AT_SIGN &kp LEFT_BRACE &kp RIGHT_BRACE &kp PIPE &none &none &kp Y &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp BSLH
&kp ESC &kp POUND &kp DOLLAR &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp GRAVE &none &kp LCTRL &kp LALT &none &none &kp LGUI &kp RCTRL &none &kp H &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp SQT
&kp LSHFT &kp LCTRL &kp CARET &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp TILDE &none &none &kp HOME &none &none &kp PG_UP &none &none &kp N &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp RSHFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &trans &trans &trans &kp PG_DN &kp ENTER &kp KP_N0 &kp UP &kp DOWN &kp KP_DOT &kp RBKT &mo 2
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &trans &mo 3 &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS
&kp TAB &kp EXCLAMATION &kp AT_SIGN &kp LEFT_BRACE &kp RIGHT_BRACE &kp PIPE &none &none &kp Y &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp BSLH
&kp ESC &kp POUND &kp DOLLAR &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp GRAVE &none &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp SQT
&kp LSHFT &kp LCTRL &kp CARET &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp TILDE &kp HOME &kp PG_UP &kp N &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp RSHFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &trans &trans &trans &kp PG_DN &kp ENTER &kp KP_N0 &kp UP &kp DOWN &kp KP_DOT &kp RBKT &mo 2
>;
};
fn {
Expand Down

0 comments on commit e8210ed

Please sign in to comment.