generated from zmkfirmware/unified-zmk-config-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dasbob.keymap
127 lines (108 loc) · 4.2 KB
/
dasbob.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
120
121
122
123
124
125
126
127
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
/ {
behaviors {
hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS";
bindings = <&kp>, <&kp>;
#binding-cells = <2>;
tapping-term-ms = <200>;
quick-tap-ms = <0>;
flavor = "tap-preferred";
};
hmr: hmr {
compatible = "zmk,behavior-hold-tap";
label = "HMR";
bindings = <&kp>, <&kp>;
#binding-cells = <2>;
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
flavor = "balanced";
hold-trigger-on-release;
hold-trigger-key-positions = <9 33 5 6 7 8 9 15 16 17 18 19 25 26 27 28 29 33 34 35 32 31 30>;
};
hml: hml {
compatible = "zmk,behavior-hold-tap";
label = "HML";
bindings = <&kp>, <&kp>;
#binding-cells = <2>;
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
flavor = "balanced";
hold-trigger-on-release;
hold-trigger-key-positions = <0 1 2 3 4 10 11 12 13 14 20 21 22 23 24 30 31 32 33 34>;
};
};
macros {
snip: snip {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LSHFT &kp LEFT_GUI &kp S>;
label = "SNIP";
};
lock: lock {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LEFT_GUI &kp L>;
label = "LOCK";
};
};
combos {
compatible = "zmk,combos";
to_base {
bindings = <&to 0>;
key-positions = <13 16>;
};
to_cyr {
bindings = <&none>;
key-positions = <14 15>;
};
};
keymap {
compatible = "zmk,keymap";
// This is a sample keymap intended to be replaced with your own
Base {
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&hml LSHFT A &hml LALT S &hml LGUI D &hml LCTRL F &kp G &kp H &hmr LCTRL J &hmr RGUI K &hmr RIGHT_ALT L &hmr RSHFT SQT
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH
< 1 ESC < 1 SPACE &none &none < 2 SPACE < 2 BACKSPACE
>;
};
Sym {
bindings = <
&kp EXCL &kp AT &kp HASH &kp SEMI &kp LBRC &kp EQUAL &kp N7 &kp N8 &kp N9 &kp N0
&kp LSHFT &kp GRAVE &trans &kp COLON &kp LBKT &kp MINUS &kp N4 &kp N5 &kp N6 &trans
&kp RBRC &kp RBKT &kp RPAR &kp TILDE &kp LPAR &kp BSLH &kp N1 &kp N2 &kp N3 &trans
&trans &kp ENTER &trans &trans &kp TAB &trans
>;
};
Nav {
bindings = <
&kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &kp DEL &trans
&trans &trans &trans &trans &trans &kp LEFT_ARROW &kp DOWN_ARROW &kp UP_ARROW &kp RIGHT_ARROW &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &kp ENTER &trans &trans &kp TAB &trans
>;
};
Tune {
bindings = <
&bt BT_CLR &none &none &none &bt BT_SEL 0 &kp C_VOLUME_UP &snip &none &none &none
&bootloader &none &none &none &bt BT_SEL 1 &kp K_MUTE &kp K_PREV &kp K_PP &kp K_NEXT &bootloader
&none &none &none &none &bt BT_SEL 2 &kp C_VOL_DN &none &none &none &none
&none &none &none &none &none &none
>;
};
};
conditional_layers {
compatible = "zmk,conditional-layers";
raise_lower {
if-layers = <2 1>;
then-layer = <3>;
};
};
};