Skip to content

Commit

Permalink
update keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
pirey committed Sep 4, 2024
1 parent 232d19e commit aef11e4
Showing 1 changed file with 20 additions and 29 deletions.
49 changes: 20 additions & 29 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
};

layout_switch {
bindings = <&tog 4>;
bindings = <&tog 0>;
key-positions = <36 37 40 41>;
};

Expand All @@ -119,7 +119,7 @@
};

system_layer_combo {
bindings = <&mo 3>;
bindings = <&mo 0>;
key-positions = <36 37>;
};
};
Expand All @@ -129,49 +129,40 @@
keymap {
compatible = "zmk,keymap";

colemak_layer {
base {
bindings = <
&none &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMICOLON &none
&none &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O &none
&none &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH &none
&kp LEFT_CONTROL &kp LEFT_GUI &lt 2 SPACE &lt 1 ENTER &mt RIGHT_SHIFT BACKSPACE &mt LEFT_ALT ESC
&trans &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &trans
&trans &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &trans
&trans &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &trans
&kp LEFT_SHIFT &lt 2 BACKSPACE &mt ESCAPE LEFT_CONTROL &mt RIGHT_SHIFT ENTER &lt 1 SPACE &mo 3
>;
};

numsym_layer {
number_nav {
bindings = <
&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp LEFT_BRACE &kp RIGHT_BRACE &trans &trans
&trans &kp NUMBER_6 &kp N7 &kp N8 &kp N9 &kp NUMBER_0 &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp ASTERISK &trans
&trans &kp GRAVE &kp TILDE &kp DQT &kp SQT &kp BSLH &kp LESS_THAN &kp GREATER_THAN &kp MINUS &kp EQUAL &kp SLASH &trans
&trans &trans &to 4 &trans &trans &trans
&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp NUMBER_6 &kp NUMBER_7 &kp N8 &kp N9 &kp N0 &trans
&trans &kp LALT &kp LSHFT &kp LCTRL &kp TAB &kp LGUI &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp COLON &trans
&trans &none &none &none &none &kp PRINTSCREEN &kp F11 &none &trans &trans &kp QUESTION &trans
&trans &kp BACKSPACE &kp DELETE &trans &trans &trans
>;
};

fun_layer {
symbols {
bindings = <
&trans &kp F1 &kp F4 &kp F7 &kp F10 &kp C_VOL_UP &kp C_BRIGHTNESS_INC &kp K_PASTE &kp UP_ARROW &kp K_COPY &kp ESC &trans
&trans &kp F2 &kp F5 &kp F8 &kp F11 &kp C_MUTE &kp C_PLAY_PAUSE &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT &kp PG_UP &trans
&trans &kp F3 &kp F6 &kp F9 &kp F12 &kp C_VOL_DN &kp C_BRIGHTNESS_DEC &kp K_UNDO &kp K_REDO &kp K_CUT &kp PAGE_DOWN &trans
&trans &trans &trans &to 3 &trans &trans
&trans &none &kp SINGLE_QUOTE &kp DOUBLE_QUOTES &none &kp C_VOL_UP &kp CARET &kp AMPERSAND &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp ASTERISK &trans
&trans &kp EXCLAMATION &kp AT_SIGN &kp HASH &kp DOLLAR &kp PERCENT &kp MINUS &kp EQUAL &kp LEFT_BRACE &kp RIGHT_BRACE &kp PIPE &trans
&trans &none &kp TILDE &kp GRAVE &none &kp C_VOL_DN &kp UNDERSCORE &kp PLUS &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp BACKSLASH &trans
&trans &trans &trans &trans &trans &trans
>;
};

sys_layer {
bindings = <
&trans &trans &trans &bt BT_PRV &bt BT_NXT &trans &none &trans &trans &trans &trans &trans
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &none &none &none &none &trans
&trans &bootloader &sys_reset &none &bt BT_CLR &bt BT_CLR_ALL &none &trans &trans &trans &trans &trans
&trans &trans &trans &bt BT_PRV &bt BT_NXT &trans &none &trans &trans &trans &soft_off &trans
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &none &none &none &none &trans
&trans &bootloader &sys_reset &none &bt BT_CLR &bt BT_CLR_ALL &none &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};

qwerty_layer {
bindings = <
&trans &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &trans
&trans &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &trans
&trans &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &trans
&kp LEFT_CONTROL &kp LEFT_GUI &lt 2 SPACE &lt 1 ENTER &mt LEFT_SHIFT BACKSPACE &mt RIGHT_ALT ESC
>;
};
};
};

0 comments on commit aef11e4

Please sign in to comment.