Skip to content

Commit 094f53a

Browse files
author
Gabriel Lima Luz
committed
Merge remote-tracking branch 'origin/master'
2 parents e32601f + c1aeb4b commit 094f53a

File tree

1 file changed

+57
-44
lines changed

1 file changed

+57
-44
lines changed

config/corne.keymap

Lines changed: 57 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,65 @@
55
*/
66

77
#include <behaviors.dtsi>
8-
#include <dt-bindings/zmk/keys.h>
98
#include <dt-bindings/zmk/bt.h>
9+
#include <dt-bindings/zmk/keys.h>
1010

1111
/ {
12-
keymap {
13-
compatible = "zmk,keymap";
14-
15-
default_layer {
16-
// -----------------------------------------------------------------------------------------
17-
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | BSPC |
18-
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
19-
// | SHFT | Z | X | C | V | B | | N | M | , | . | / | ESC |
20-
// | GUI | LWR | SPC | | ENT | RSE | ALT |
21-
bindings = <
22-
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
23-
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
24-
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
25-
&kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp RALT
26-
>;
27-
};
28-
lower_layer {
29-
// -----------------------------------------------------------------------------------------
30-
// | TAB | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC |
31-
// | BTCLR| BT1 | BT2 | BT3 | BT4 | BT5 | | LFT | DWN | UP | RGT | | |
32-
// | SHFT | | | | | | | | | | | | |
33-
// | GUI | | SPC | | ENT | | ALT |
34-
bindings = <
35-
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
36-
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
37-
&kp LSHFT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
38-
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
39-
>;
40-
};
41-
42-
raise_layer {
43-
// -----------------------------------------------------------------------------------------
44-
// | TAB | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BSPC |
45-
// | CTRL | | | | | | | - | = | [ | ] | \ | ` |
46-
// | SHFT | | | | | | | _ | + | { | } | "|" | ~ |
47-
// | GUI | | SPC | | ENT | | ALT |
48-
bindings = <
49-
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp BSPC
50-
&kp LCTRL &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
51-
&kp LSHFT &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
52-
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
53-
>;
54-
};
12+
combos {
13+
compatible = "zmk,combos";
14+
15+
commacombo {
16+
bindings = <&kp SEMICOLON>;
17+
key-positions = <32 33>;
18+
};
19+
};
20+
21+
keymap {
22+
compatible = "zmk,keymap";
23+
24+
default_layer {
25+
// -----------------------------------------------------------------------------------------
26+
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | BSPC |
27+
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
28+
// | SHFT | Z | X | C | V | B | | N | M | , | . | / | ESC |
29+
// | GUI | LWR | SPC | | ENT | RSE | ALT |
30+
31+
bindings = <
32+
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
33+
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
34+
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
35+
&kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp RALT
36+
>;
37+
};
38+
39+
lower_layer {
40+
// -----------------------------------------------------------------------------------------
41+
// | TAB | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC |
42+
// | BTCLR| BT1 | BT2 | BT3 | BT4 | BT5 | | LFT | DWN | UP | RGT | | |
43+
// | SHFT | | | | | | | | | | | | |
44+
// | GUI | | SPC | | ENT | | ALT |
45+
46+
bindings = <
47+
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
48+
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
49+
&kp LSHFT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
50+
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
51+
>;
52+
};
53+
54+
raise_layer {
55+
// -----------------------------------------------------------------------------------------
56+
// | TAB | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BSPC |
57+
// | CTRL | | | | | | | - | = | [ | ] | \ | ` |
58+
// | SHFT | | | | | | | _ | + | { | } | "|" | ~ |
59+
// | GUI | | SPC | | ENT | | ALT |
60+
61+
bindings = <
62+
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp BSPC
63+
&kp LCTRL &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
64+
&kp LSHFT &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
65+
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
66+
>;
5567
};
68+
};
5669
};

0 commit comments

Comments
 (0)