Skip to content

Commit

Permalink
Updated corne.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] authored Jun 26, 2024
1 parent cdc1bb5 commit a94595e
Showing 1 changed file with 30 additions and 27 deletions.
57 changes: 30 additions & 27 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -44,61 +44,61 @@
Copy {
bindings = <&kp LC(INSERT)>;
key-positions = <3 2 4>;
layers = <0 6>;
layers = <0>;
};

Paste {
bindings = <&kp LS(INS)>;
key-positions = <14 15 16>;
layers = <0 6>;
layers = <0>;
};

Cut {
bindings = <&kp LS(DELETE)>;
key-positions = <26 28 27>;
layers = <0 6>;
layers = <0>;
};

prog-parenthesis {
bindings = <&par>;
key-positions = <7 8>;
layers = <0 6>;
layers = <0>;
};

prog-braces {
bindings = <&brackets>;
key-positions = <20 19>;
layers = <0 6>;
layers = <0>;
};

prog-less {
bindings = <&kp LT>;
key-positions = <32 19>;
layers = <0 6>;
layers = <0>;
};

prog-return {
bindings = <&kp COLON>;
key-positions = <19 21 20>;
layers = <0 6>;
layers = <0>;
};

prog-equals {
bindings = <&kp EQUAL>;
key-positions = <7 8 9>;
layers = <0 6>;
layers = <0>;
};

enie {
bindings = <&kp RA(N)>;
key-positions = <36 19>;
layers = <0 6>;
layers = <0>;
};

enie-mac {
bindings = <&enie_mac>;
key-positions = <36 12 19>;
layers = <0 6>;
layers = <0>;
};

huh {
Expand Down Expand Up @@ -169,6 +169,20 @@
bindings = <&kp LA(N) &kp N &kp N>;
label = "ENIE_MAC";
};

left_word: left_word {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LC(LEFT)>;
label = "LEFT_WORD";
};

right_word: right_word {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LC(RIGHT)>;
label = "RIGHT_WORD";
};
};

keymap {
Expand All @@ -184,9 +198,9 @@
// | GUI | LWR | SPC | | ENT | RSE | ALT |

bindings = <
&kp TAB &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMICOLON &kp ESCAPE
&kp LCTRL &hml LEFT_META A &hml LALT R &hml LEFT_CONTROL S &hml LEFT_SHIFT T &kp G &kp M &hmr RIGHT_SHIFT N &hmr RIGHT_CONTROL E &hmr RIGHT_ALT I &hmr RIGHT_GUI O &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH &to 6
&kp TAB &kp W &kp L &kp Y &kp P &kp B &kp F &kp J &kp O &kp U &kp SEMICOLON &kp ESCAPE
&kp LCTRL &hml LEFT_META C &hml LALT R &hml LEFT_CONTROL S &hml LEFT_SHIFT T &kp G &kp M &hmr RIGHT_SHIFT N &hmr RIGHT_CONTROL E &hmr RIGHT_ALT I &hmr RIGHT_GUI A &kp SQT
&kp LSHFT &kp Q &kp Z &kp V &kp D &kp K &kp X &kp H &kp COMMA &kp DOT &kp FSLH &key_repeat
&lt 3 LEFT_ALT &mo 1 &kp SPACE &lt 5 ENTER &lt 4 BACKSPACE &lt 2 LEFT_GUI
>;
};
Expand All @@ -201,9 +215,9 @@
// | GUI | | SPC | | ENT | | ALT |

bindings = <
&kp ESCAPE &trans &trans &trans &trans &trans &trans &kp HOME &kp UP &kp END &kp PAGE_UP &kp DELETE
&kp CAPS &kp LEFT_GUI &kp LEFT_ALT &kp LCTRL &kp LEFT_SHIFT &trans &trans &kp LEFT_ARROW &kp DOWN &kp RIGHT &kp INS &trans
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &copy &cut &paste &kp PAGE_DOWN &trans
&kp ESCAPE &trans &trans &trans &trans &trans &trans &left_word &kp UP &right_word &kp PAGE_UP &kp DELETE
&kp CAPS &kp LEFT_GUI &kp LEFT_ALT &kp LCTRL &kp LEFT_SHIFT &trans &trans &kp LEFT_ARROW &kp DOWN &kp RIGHT &kp INS &trans
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &copy &cut &paste &kp PAGE_DOWN &trans
&trans &trans &kp SPACE &kp RET &trans &trans
>;
};
Expand Down Expand Up @@ -254,16 +268,5 @@
&trans &trans &trans &trans &trans &trans
>;
};

crate {
bindings = <
&kp TAB &kp W &kp L &kp Y &kp P &kp B &kp J &kp F &kp O &kp U &kp SEMICOLON &kp ESCAPE
&kp LCTRL &kp C &kp R &kp A &kp T &kp G &kp M &kp N &kp E &kp I &kp K &kp SQT
&kp LSHIFT &kp X &kp Z &kp Q &kp D &kp V &kp H &kp S &kp COMMA &kp PERIOD &kp SLASH &to 0
&lt 3 LEFT_ALT &mo 1 &kp SPACE &lt 5 ENTER &lt 4 BACKSPACE &lt 2 LEFT_GUI
>;

label = "CRATE";
};
};
};

0 comments on commit a94595e

Please sign in to comment.