From a94595e04c3d933a0e500d41a2b2c11c4e4e1435 Mon Sep 17 00:00:00 2001 From: "keymap-editor[bot]" <91849743+keymap-editor[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 04:54:33 +0000 Subject: [PATCH] Updated corne.keymap --- config/corne.keymap | 57 ++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/config/corne.keymap b/config/corne.keymap index 0b05c15..dc0ff22 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -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 { @@ -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 { @@ -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 < 3 LEFT_ALT &mo 1 &kp SPACE < 5 ENTER < 4 BACKSPACE < 2 LEFT_GUI >; }; @@ -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 © &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 © &cut &paste &kp PAGE_DOWN &trans &trans &trans &kp SPACE &kp RET &trans &trans >; }; @@ -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 - < 3 LEFT_ALT &mo 1 &kp SPACE < 5 ENTER < 4 BACKSPACE < 2 LEFT_GUI - >; - - label = "CRATE"; - }; }; };