forked from ramonimbao/zmk-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
andrea.keymap
109 lines (91 loc) · 11.1 KB
/
andrea.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
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>
#define WIN_OS 0
#define FN_L 1
#define FN 2
#define MAC_OS 3
#define FN_MAC 4
/ {
keymap {
compatible = "zmk,keymap";
default_layer {
// -----------------------------------------------------------------------------------------
// | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BSPC | BSPC | PRSC |
// | TAB | Q | W | E | R | T | Y ` | U | I | O | P | [ | ] | \ | PGUP |
// |MT(SPACE)| A | S | D | F | G | H | J | K | L | ; | ' | ENTER | PGDN |
// | SHIFT | Z | X | C | V | B | B | N | M | , | . | / | SHIFT | UP |
// | CTRL | ALT | LT(SPACE, 1) | BSPC | LT(SPACE,1) | ALT | LEFT | DOWN | RIGHT |
bindings = <
&kp GRAVE &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0 &kp MINUS &kp EQL &kp BKSP &kp DEL &kp PSCRN
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp PG_UP
&mt LCTRL CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT &kp ENTER &kp PG_DN
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp B &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSHFT &kp UP
&kp LCTRL &kp LALT < FN SPACE &kp LWIN < FN SPACE &kp DEL &kp LEFT &kp DOWN &kp RIGHT
>;
};
fn_lock_layer {
// -----------------------------------------------------------------------------------------
// | GRAVE | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | BOOTLOADER | TRANS | MUTE |
// | BT_CLR| BT_SEL 1| BT_SEL 2 | BT_SEL 3| BT_SEL 4| BT_SEL 5 | PSCR | SCLK | PAUSE | TRANS | TRANS | TRANS | TRANS | RESET | NEXT T|
// | TRANS | RGB_TOG | RGB_EFR | RGB_SAI | RGB_BRI | RGB_HUI | INS | HOME | PG_UP | TRANS | TRANS | TRANS | | TRANS | PREV T|
// | SHIFT | RGB_EFF | TRANS | RGB_SAD | RGB_BRD | RGB_HUD | TRANS | DEL | END | PG_DN | TRANS | TRANS | TRANS | | PG_UP |
// | TRANS | | GUI | TRANS | TRANS | TRANS | MENU | HOME | PG_DN | END |
bindings = <
&kp ESC &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp DEL &kp DEL &kp C_MUTE
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp PG_UP
&mt LCTRL CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT &kp ENTER &kp PG_DN
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp B &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSHFT &kp UP
&kp LCTRL &kp LALT < FN SPACE &kp LWIN < FN SPACE &kp DEL &kp LEFT &kp DOWN &kp RIGHT
>;
};
fn_layer {
// -----------------------------------------------------------------------------------------
// | GRAVE | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | BOOTLOADER | TRANS | MUTE |
// | BT_CLR| BT_SEL 1| BT_SEL 2 | BT_SEL 3| BT_SEL 4| BT_SEL 5 | PSCR | SCLK | PAUSE | TRANS | TRANS | TRANS | TRANS | RESET | NEXT T|
// | TRANS | RGB_TOG | RGB_EFR | RGB_SAI | RGB_BRI | RGB_HUI | INS | HOME | PG_UP | TRANS | TRANS | TRANS | | TRANS | PREV T|
// | SHIFT | RGB_EFF | TRANS | RGB_SAD | RGB_BRD | RGB_HUD | TRANS | DEL | END | PG_DN | TRANS | TRANS | TRANS | | PG_UP |
// | TRANS | | GUI | TRANS | TRANS | TRANS | MENU | HOME | PG_DN | END |
bindings = <
&kp ESC &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp DEL &kp DEL &kp C_MUTE
&trans &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 5 &bt BT_CLR &trans &trans &trans &kp PSCRN &trans &trans &reset &kp C_VOL_UP
&trans &rgb_ug RGB_TOG &rgb_ug RGB_EFR &rgb_ug RGB_SAI &rgb_ug RGB_BRI &rgb_ug RGB_HUI &trans &trans &trans &trans &ext_power EP_ON &ext_power EP_OFF &bootloader &kp C_VOL_DN
&trans &rgb_ug RGB_EFF &trans &rgb_ug RGB_SAD &rgb_ug RGB_BRD &rgb_ug RGB_HUD &trans &trans &trans &trans &tog FN_L &tog MAC_OS &trans &kp PG_UP
&kp LCTRL &kp LALT < FN SPACE &kp LWIN < FN SPACE &kp C_AL_FILES &kp HOME &kp PG_DN &kp END
>;
};
mac_layer {
// -----------------------------------------------------------------------------------------
// | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BSPC | BSPC | PRSC |
// | TAB | Q | W | E | R | T | Y ` | U | I | O | P | [ | ] | \ | PGUP |
// |MT(SPACE)| A | S | D | F | G | H | J | K | L | ; | ' | ENTER | PGDN |
// | SHIFT | Z | X | C | V | B | B | N | M | , | . | / | SHIFT | UP |
// | CTRL | ALT | LT(SPACE, 1) | BSPC | LT(SPACE,1) | ALT | LEFT | DOWN | RIGHT |
bindings = <
&kp GRAVE &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0 &kp MINUS &kp EQL &kp BKSP &kp DEL &kp PSCRN
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp PG_UP
&mt LCTRL CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT &kp ENTER &kp PG_DN
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp B &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSHFT &kp UP
&kp LCTRL &kp LCMD < FN_MAC SPACE &kp LALT < FN_MAC SPACE &kp DEL &kp LEFT &kp DOWN &kp RIGHT
>;
};
fn_mac_layer {
// -----------------------------------------------------------------------------------------
// | GRAVE | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | BOOTLOADER | TRANS | MUTE |
// | BT_CLR| BT_SEL 1| BT_SEL 2 | BT_SEL 3| BT_SEL 4| BT_SEL 5 | PSCR | SCLK | PAUSE | TRANS | TRANS | TRANS | TRANS | RESET | NEXT T|
// | TRANS | RGB_TOG | RGB_EFR | RGB_SAI | RGB_BRI | RGB_HUI | INS | HOME | PG_UP | TRANS | TRANS | TRANS | | TRANS | PREV T|
// | SHIFT | RGB_EFF | TRANS | RGB_SAD | RGB_BRD | RGB_HUD | TRANS | DEL | END | PG_DN | TRANS | TRANS | TRANS | | PG_UP |
// | TRANS | | GUI | TRANS | TRANS | TRANS | MENU | HOME | PG_DN | END |
bindings = <
&kp ESC &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp DEL &kp DEL &kp C_MUTE
&trans &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 5 &bt BT_CLR &trans &trans &trans &kp PSCRN &trans &trans &reset &kp C_VOL_UP
&trans &rgb_ug RGB_TOG &rgb_ug RGB_EFR &rgb_ug RGB_SAI &rgb_ug RGB_BRI &rgb_ug RGB_HUI &trans &trans &trans &trans &ext_power EP_ON &ext_power EP_OFF &bootloader &kp C_VOL_DN
&trans &rgb_ug RGB_EFF &trans &rgb_ug RGB_SAD &rgb_ug RGB_BRD &rgb_ug RGB_HUD &trans &trans &trans &trans &trans &tog MAC_OS &trans &kp PG_UP
&kp LCTRL &kp LCMD < FN_MAC SPACE &kp LALT < FN_MAC SPACE &kp C_AL_FILES &kp HOME &kp PG_DN &kp END
>;
};
};
};