forked from LOWPROKB/zmk-config-zen-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcorneish_zen.keymap
119 lines (110 loc) · 6.58 KB
/
corneish_zen.keymap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include "keys_fi_mac.h"
/ {
chosen {
zmk,matrix_transform = &default_transform;
//zmk,matrix_transform = &five_column_transform;
};
};
/ {
behaviors {
multa: multiply_select_all {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp KP_MULTIPLY>, <&kp FI_A>;
mods = <(MOD_LGUI)>;
keep-mods = <(MOD_LGUI)>;
};
};
};
/ {
keymap {
compatible = "zmk,keymap";
default_layer {
label = "QWERTY";
// -----------------------------------------------------------------------------------------
// | ESC | Q | W | E | R | T | | Y | U | I | O | P | Å |
// | CTRL | A | S | D | F | G | | H | J | K | L | Ö | Ä |
// | SHFT | Z | X | C | V | B | | N | M | , | . | - | SHFT |
// | GUI |␣/NAV|↹/NUM| |↩/FUN|⌫/SYM|ALTGR|
bindings = <
&kp ESC &kp FI_Q &kp FI_W &kp FI_E &kp FI_R &kp FI_T &kp FI_Y &kp FI_U &kp FI_I &kp FI_O &kp FI_P &kp FI_ARNG
&kp LCTRL &kp FI_A &kp FI_S &kp FI_D &kp FI_F &kp FI_G &kp FI_H &kp FI_J &kp FI_K &kp FI_L &kp FI_ODIA &kp FI_ADIA
&kp LSHFT &kp FI_Z &kp FI_X &kp FI_C &kp FI_V &kp FI_B &kp FI_N &kp FI_M &kp FI_COMM &kp FI_DOT &kp FI_MINS &kp RSHFT
&kp LGUI < 1 SPACE < 3 TAB < 5 RET < 2 BSPC &kp RALT
>;
};
nav_layer {
label = "NAV";
// -----------------------------------------------------------------------------------------
// | MUTE |VOL- |VOL+ |SS-3 |SS-4 | | | PGUP| HOME| UP | END | INS | |
// | |CTRL | ALT | GUI |SHFT | | | PGDN| LEFT| DOWN| RGHT| DEL | |
// | |UNDO | CUT |COPY |PSTE | | | | | | | | |
// | |(NAV)| ↹ | | ↩ | ⌫ |ALTGR|
bindings = <
&kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &kp LS(LG(FI_3)) &kp LS(LG(FI_4)) &none &kp PG_UP &kp HOME &kp UP &kp END &kp INS &none
&none &kp LCTRL &kp LALT &kp LGUI &kp LSHFT &none &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp DEL &none
&none &kp LG(FI_Z) &kp LG(FI_X) &kp LG(FI_C) &kp LG(FI_V) &none &none &none &none &none &none &none
&none &mo 1 &kp TAB &kp RET &kp BSPC &kp RALT
>;
};
sym_layer {
label = "SYM";
// -----------------------------------------------------------------------------------------
// | | ! | " | # | € | % | | & | / | ( | ) | = | |
// | | ? | @ | * | $ | ^ | | ¨ | ' | { | } | + | |
// | | "|" | < | > | ~ | § | | ´ | \ | [ | ] | _ | |
// | |TYPE | | | |(SYM)| |
bindings = <
&none &kp FI_EXLM &kp FI_DQUO &kp FI_HASH &kp FI_EURO &kp FI_PERC &kp FI_AMPR &kp FI_SLSH &kp FI_LPRN &kp FI_RPRN &kp FI_EQL &none
&none &kp FI_QUES &kp FI_AT &kp FI_ASTR &kp FI_DLR &kp FI_CIRC &kp FI_DIAE &kp FI_QUOT &kp FI_LCBR &kp FI_RCBR &kp FI_PLUS &none
&none &kp FI_PIPE &kp FI_LABK &kp FI_RABK &kp FI_TILD &kp FI_SECT &kp FI_ACUT &kp FI_BSLS &kp FI_LBRC &kp FI_RBRC &kp FI_UNDS &none
&none &kp LC(LG(FI_COMM)) &none &none &mo 2 &none
>;
};
num_layer {
label = "NUM";
// -----------------------------------------------------------------------------------------
// | | / | 7 | 8 | 9 | - | | | | | | | |
// | | * | 4 | 5 | 6 | + | | | SHFT| GUI | ALT | CTRL| |
// | | , | 1 | 2 | 3 |(PAD)| | | | | | | |
// | | 0 |(NUM)| | ↩ | ⌫ |ALTGR|
bindings = <
&none &kp KP_DIVIDE &kp FI_7 &kp FI_8 &kp FI_9 &kp KP_MINUS &none &none &none &none &none &none
&none &kp KP_MULTIPLY &kp FI_4 &kp FI_5 &kp FI_6 &kp KP_PLUS &none &kp LSHFT &kp LGUI &kp LALT &kp LCTRL &none
&none &kp KP_DOT &kp FI_1 &kp FI_2 &kp FI_3 &tog 4 &none &none &none &none &none &none
&none &kp FI_0 &mo 3 &kp RET &kp BSPC &kp RALT
>;
};
pad_layer {
label = "PAD";
// -----------------------------------------------------------------------------------------
// | | / | 7 | 8 | 9 | - | | | | | | | |
// | | * | 4 | 5 | 6 | + | | | | | | | |
// | | , | 1 | 2 | 3 | | | | | | | | |
// | | 0 |(NUM)| | ↩ | ⌫ | |
bindings = <
&none &kp KP_DIVIDE &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &none &none &none &none &none &none
&none &multa &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &none &none &none &none &none &none
&none &kp KP_DOT &kp KP_N1 &kp KP_N2 &kp KP_N3 &none &none &none &none &none &none &none
&kp LGUI &kp KP_N0 &tog 4 &kp KP_ENTER &kp BSPC &none
>;
};
fun_layer {
label = "FUN";
// -----------------------------------------------------------------------------------------
// | |BRI- |BRI+ | | | | | F12 | F7 | F8 | F9 | | |
// | |CTRL | ALT | GUI |SHFT | | | F11 | F4 | F5 | F6 | | |
// | BTCLR| BT1 | BT2 | BT3 | BT4 | BT5 | | F10 | F1 | F2 | F3 | | |
// | | | | |(FUN)| |ALTGR|
bindings = <
&none &kp C_BRI_DN &kp C_BRI_UP &none &none &none &kp F12 &kp F7 &kp F8 &kp F9 &none &none
&none &kp LCTRL &kp LALT &kp LGUI &kp LSHFT &none &kp F11 &kp F4 &kp F5 &kp F6 &none &none
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp F10 &kp F1 &kp F2 &kp F3 &none &none
&none &none &none &mo 4 &none &kp RALT
>;
};
};
};