-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.txt
executable file
·209 lines (163 loc) · 3.26 KB
/
config.example.txt
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
remap_key=SPACE
when_alone=SPACE
with_other=RIGHT_CTRL
when_press=layer_space
remap_key=LEFT_CTRL
with_other=LEFT_CTRL
when_press=layer_ctrl
remap_key=LEFT_SHIFT
with_other=LEFT_SHIFT
when_press=layer_shift
remap_key=LEFT_ALT
when_alone=LEFT_ALT
when_press=layer_alt
# disable Windows Start menu when tapped
remap_key=LEFT_WIN
with_other=LEFT_WIN
when_press=layer_win
remap_key=TAB
when_alone=TAB
with_other=
when_press=layer_tab
# hyper key with simple remapping
remap_key=RIGHT_ALT
when_alone=CTRL
when_alone=ALT
when_alone=SHIFT
when_alone=LEFT_WIN
# layer definition
define_layer=layer_ctrl_win
and_layer=layer_ctrl
and_layer=layer_win
# right win as layer selector
remap_key=RIGHT_WIN
when_tap_lock=set_layer_vi
remap_key=RIGHT_WIN
layer=layer_vi
when_tap_lock=reset_layer_vi
when_tap_lock=set_layer_page
remap_key=RIGHT_WIN
layer=layer_page
when_tap_lock=reset_layer_page
when_tap_lock=set_layer_mouse
remap_key=RIGHT_WIN
layer=layer_mouse
when_tap_lock=reset_layer_mouse
# layer selectors
remap_key=LEFT_CTRL
layer=layer_space
when_press=layer_vi
when_doublepress=layer_mouse
# layer definition
define_layer=layer_vi
or_layer=layer_tab
and_layer=layer_ctrl_win
and_not_layer=layer_alt
and_not_layer=layer_shift
# layer_vi lock
remap_key=SPACE
layer=layer_vi
when_tap_lock=toggle_layer_vi
# layer_page lock
remap_key=SPACE
layer=layer_page
when_tap_lock=toggle_layer_page
# layer_mouse lock
remap_key=SPACE
layer=layer_mouse
when_tap_lock=toggle_layer_mouse
# layer for vi movements
remap_key=KEY_H
layer=layer_vi
when_alone=LEFT
remap_key=KEY_J
layer=layer_vi
when_alone=DOWN
remap_key=KEY_K
layer=layer_vi
when_alone=UP
remap_key=KEY_L
layer=layer_vi
when_alone=RIGHT
# layer with page movements
remap_key=KEY_H
layer=layer_page
when_alone=HOME
remap_key=KEY_L
layer=layer_page
when_alone=END
# layer for mouse emulation
remap_key=KEY_A
layer=layer_mouse
when_alone=MOUSE_LEFT
remap_key=KEY_S
layer=layer_mouse
when_alone=MOUSE_DOWN
remap_key=KEY_D
layer=layer_mouse
when_alone=MOUSE_UP
remap_key=KEY_F
layer=layer_mouse
when_alone=MOUSE_RIGHT
remap_key=KEY_H
layer=layer_mouse
when_alone=MOUSE_STEER_LEFT
remap_key=KEY_J
layer=layer_mouse
when_alone=MOUSE_BACKWARD
remap_key=KEY_K
layer=layer_mouse
when_alone=MOUSE_FORWARD
remap_key=KEY_L
layer=layer_mouse
when_alone=MOUSE_STEER_RIGHT
remap_key=KEY_U
layer=layer_mouse
when_alone=MOUSE_WHEEL_UP
remap_key=KEY_N
layer=layer_mouse
when_alone=MOUSE_WHEEL_DOWN
remap_key=KEY_T
layer=layer_mouse
when_alone=MOUSE_WHEEL_LEFT
remap_key=KEY_Y
layer=layer_mouse
when_alone=MOUSE_WHEEL_RIGHT
remap_key=KEY_I
layer=layer_mouse
when_alone=MOUSE_LBUTTON
remap_key=KEY_O
layer=layer_mouse
when_alone=MOUSE_MBUTTON
remap_key=KEY_P
layer=layer_mouse
when_alone=MOUSE_RBUTTON
remap_key=KEY_M
layer=layer_mouse
when_alone=MOUSE_SBUTTON
remap_key=COMMA
layer=layer_mouse
when_alone=MOUSE_SHOLD
remap_key=PERIOD
layer=layer_mouse
when_alone=MOUSE_SRELEASE
remap_key=KEY_1
layer=layer_mouse
when_alone=MOUSE_LBUTTON_SEL
remap_key=KEY_2
layer=layer_mouse
when_alone=MOUSE_MBUTTON_SEL
remap_key=KEY_3
layer=layer_mouse
when_alone=MOUSE_RBUTTON_SEL
remap_key=KEY_4
layer=layer_mouse
when_alone=MOUSE_XBUTTON1_SEL
remap_key=KEY_5
layer=layer_mouse
when_alone=MOUSE_XBUTTON2_SEL
# configurations
hold_delay=60
tap_timeout=500
doublepress_timeout=200
debug=0