Skip to content

Commit

Permalink
Adjust layout
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Nov 21, 2024
1 parent f23be7b commit e6fdd8f
Showing 1 changed file with 21 additions and 34 deletions.
55 changes: 21 additions & 34 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,6 @@
};

behaviors {
space_bh: space_bh {
compatible = "zmk,behavior-mod-morph";
label = "SPACE_BH";
bindings = <&kp RIGHT_ALT>, <&kp SPACE>;

#binding-cells = <0>;
mods = <(MOD_LGUI)>;
keep-mods = <(MOD_LGUI)>;
};

ctrl_tab_bh: ctrl_tab_bh {
compatible = "zmk,behavior-mod-morph";
label = "CTRL_TAB_BH";
bindings = <&kp LEFT_COMMAND>, <&kp TAB>;

#binding-cells = <0>;
mods = <(MOD_LCTL)>;
keep-mods = <(MOD_LCTL)>;
};

left_hrm: left_hrm {
compatible = "zmk,behavior-hold-tap";
label = "LEFT_HRM";
Expand All @@ -54,7 +34,7 @@
#binding-cells = <2>;
hold-trigger-key-positions = <39 40 41 38 36 37 6 7 8 9 10 11 18 19 20 21 22 23 30 31 32 33 34 35>;
flavor = "balanced";
tapping-term-ms = <400>;
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
hold-trigger-on-release;
Expand All @@ -66,42 +46,49 @@
bindings = <&kp>, <&kp>;

#binding-cells = <2>;
tapping-term-ms = <400>;
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
flavor = "balanced";
hold-trigger-key-positions = <27 0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29 36 37 38 39 40 41>;
hold-trigger-on-release;
};

smart_bspc: smart_bspc {
compatible = "zmk,behavior-tap-dance";
label = "SMART_BSPC";
#binding-cells = <0>;
bindings = <&kp BACKSPACE>, <&kp LA(BACKSPACE)>;
};
};

keymap {
compatible = "zmk,keymap";

default_layer {
bindings = <
&none &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &none
&none &kp A &left_hrm LEFT_CONTROL S &left_hrm LEFT_ALT D &left_hrm LEFT_COMMAND F &left_hrm LEFT_SHIFT G &kp H &right_hrm RIGHT_COMMAND J &right_hrm RIGHT_ALT K &right_hrm RIGHT_CONTROL L &kp SEMICOLON &none
&none &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp PERIOD &kp SLASH &none
&kp TAB &kp SPACE &mo 1 &kp BACKSPACE &lt 2 ENTER &kp RIGHT_SHIFT
&none &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &none
&none &kp A &left_hrm LEFT_CONTROL S &left_hrm LEFT_ALT D &left_hrm LEFT_COMMAND F &left_hrm LEFT_SHIFT G &kp H &right_hrm RIGHT_COMMAND J &right_hrm RIGHT_ALT K &right_hrm RIGHT_CONTROL L &kp SEMICOLON &none
&none &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp PERIOD &kp SLASH &none
&kp TAB &kp SPACE &lt 1 ESCAPE &kp RIGHT_SHIFT &lt 2 ENTER &kp BACKSPACE
>;
};

lower_layer {
bindings = <
&trans &kp NUMBER_1 &kp NUMBER_2 &kp NUMBER_3 &kp NUMBER_4 &kp NUMBER_5 &kp NUMBER_6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
&trans &kp EXCLAMATION &kp AT_SIGN &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPERSAND &kp ASTERISK &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &trans
&trans &none &none &none &none &none &kp UNDERSCORE &kp MINUS &kp PLUS &kp EQUAL &kp PERIOD &trans
&trans &trans &trans &trans &trans &kp RIGHT_COMMAND
&trans &none &none &none &none &none &kp MINUS &kp N7 &kp N8 &kp N9 &kp N0 &trans
&trans &none &kp LEFT_CONTROL &kp LEFT_ALT &kp LEFT_COMMAND &kp LEFT_SHIFT &kp EQUAL &kp N4 &kp N5 &kp N6 &kp COMMA &trans
&trans &none &none &none &none &none &kp N0 &kp N1 &kp NUMBER_2 &kp NUMBER_3 &kp PERIOD &trans
&trans &trans &trans &trans &trans &trans
>;
};

raise_layer {
bindings = <
&trans &none &none &none &none &none &none &kp LEFT_BRACKET &kp UP_ARROW &kp RIGHT_BRACKET &kp DOUBLE_QUOTES &trans
&trans &none &kp LEFT_CONTROL &kp LEFT_ALT &kp LEFT_COMMAND &kp LEFT_SHIFT &none &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &kp SQT &trans
&trans &none &none &none &none &none &kp HOME &kp PAGE_DOWN &kp PAGE_UP &kp END &kp BACKSLASH &trans
&trans &trans &trans &none &none &none
&trans &none &none &none &none &none &none &kp LEFT_BRACKET &kp UP_ARROW &kp RIGHT_BRACKET &kp DOUBLE_QUOTES &trans
&trans &none &kp LEFT_CONTROL &kp LEFT_ALT &kp LEFT_COMMAND &kp LEFT_SHIFT &none &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &kp SQT &trans
&trans &kp GRAVE &none &none &none &none &none &none &none &none &kp BACKSLASH &trans
&trans &trans &trans &none &none &none
>;
};

Expand Down

0 comments on commit e6fdd8f

Please sign in to comment.