]> git.r.bdr.sh - rbdr/dotfiles/blob - config/karabiner/karabiner.json
c824680866b04323582ce57b67338d7a1dc8f12f
[rbdr/dotfiles] / config / karabiner / karabiner.json
1 {
2 "global": {
3 "ask_for_confirmation_before_quitting": true,
4 "check_for_updates_on_startup": true,
5 "show_in_menu_bar": false,
6 "show_profile_name_in_menu_bar": false,
7 "unsafe_ui": false
8 },
9 "profiles": [
10 {
11 "complex_modifications": {
12 "parameters": {
13 "basic.simultaneous_threshold_milliseconds": 50,
14 "basic.to_delayed_action_delay_milliseconds": 500,
15 "basic.to_if_alone_timeout_milliseconds": 1000,
16 "basic.to_if_held_down_threshold_milliseconds": 500,
17 "mouse_motion_to_scroll.speed": 100
18 },
19 "rules": [
20 {
21 "description": "print_screen to command+shift+4",
22 "manipulators": [
23 {
24 "from": {
25 "key_code": "print_screen"
26 },
27 "to": [
28 {
29 "key_code": "4",
30 "modifiers": [
31 "left_gui",
32 "left_shift"
33 ],
34 "repeat": false
35 }
36 ],
37 "type": "basic"
38 }
39 ]
40 },
41 {
42 "description": "pause to ctrl+command+q",
43 "manipulators": [
44 {
45 "from": {
46 "key_code": "pause"
47 },
48 "to": [
49 {
50 "key_code": "q",
51 "modifiers": [
52 "left_gui",
53 "left_control"
54 ],
55 "repeat": false
56 }
57 ],
58 "type": "basic"
59 }
60 ]
61 },
62 {
63 "description": "Insert to Ctrl+Cmd+Alt+N",
64 "manipulators": [
65 {
66 "from": {
67 "key_code": "insert"
68 },
69 "to": [
70 {
71 "key_code": "n",
72 "modifiers": [
73 "left_control",
74 "left_alt",
75 "left_gui"
76 ],
77 "repeat": true
78 }
79 ],
80 "type": "basic"
81 }
82 ]
83 }
84 ]
85 },
86 "devices": [
87 {
88 "disable_built_in_keyboard_if_exists": false,
89 "fn_function_keys": [],
90 "game_pad_swap_sticks": false,
91 "identifiers": {
92 "is_game_pad": false,
93 "is_keyboard": true,
94 "is_pointing_device": false,
95 "product_id": 25903,
96 "vendor_id": 3141
97 },
98 "ignore": false,
99 "manipulate_caps_lock_led": false,
100 "mouse_flip_horizontal_wheel": false,
101 "mouse_flip_vertical_wheel": false,
102 "mouse_flip_x": false,
103 "mouse_flip_y": false,
104 "mouse_swap_wheels": false,
105 "mouse_swap_xy": false,
106 "simple_modifications": [],
107 "treat_as_built_in_keyboard": false
108 },
109 {
110 "disable_built_in_keyboard_if_exists": false,
111 "fn_function_keys": [],
112 "game_pad_swap_sticks": false,
113 "identifiers": {
114 "is_game_pad": false,
115 "is_keyboard": true,
116 "is_pointing_device": false,
117 "product_id": 834,
118 "vendor_id": 1452
119 },
120 "ignore": false,
121 "manipulate_caps_lock_led": true,
122 "mouse_flip_horizontal_wheel": false,
123 "mouse_flip_vertical_wheel": false,
124 "mouse_flip_x": false,
125 "mouse_flip_y": false,
126 "mouse_swap_wheels": false,
127 "mouse_swap_xy": false,
128 "simple_modifications": [
129 {
130 "from": {
131 "key_code": "grave_accent_and_tilde"
132 },
133 "to": [
134 {
135 "key_code": "non_us_backslash"
136 }
137 ]
138 },
139 {
140 "from": {
141 "key_code": "non_us_backslash"
142 },
143 "to": [
144 {
145 "key_code": "grave_accent_and_tilde"
146 }
147 ]
148 }
149 ],
150 "treat_as_built_in_keyboard": false
151 },
152 {
153 "disable_built_in_keyboard_if_exists": false,
154 "fn_function_keys": [],
155 "game_pad_swap_sticks": false,
156 "identifiers": {
157 "is_game_pad": false,
158 "is_keyboard": true,
159 "is_pointing_device": false,
160 "product_id": 0,
161 "vendor_id": 13
162 },
163 "ignore": false,
164 "manipulate_caps_lock_led": true,
165 "mouse_flip_horizontal_wheel": false,
166 "mouse_flip_vertical_wheel": false,
167 "mouse_flip_x": false,
168 "mouse_flip_y": false,
169 "mouse_swap_wheels": false,
170 "mouse_swap_xy": false,
171 "simple_modifications": [],
172 "treat_as_built_in_keyboard": false
173 },
174 {
175 "disable_built_in_keyboard_if_exists": false,
176 "fn_function_keys": [],
177 "game_pad_swap_sticks": false,
178 "identifiers": {
179 "is_game_pad": false,
180 "is_keyboard": false,
181 "is_pointing_device": true,
182 "product_id": 834,
183 "vendor_id": 1452
184 },
185 "ignore": true,
186 "manipulate_caps_lock_led": false,
187 "mouse_flip_horizontal_wheel": false,
188 "mouse_flip_vertical_wheel": false,
189 "mouse_flip_x": false,
190 "mouse_flip_y": false,
191 "mouse_swap_wheels": false,
192 "mouse_swap_xy": false,
193 "simple_modifications": [],
194 "treat_as_built_in_keyboard": false
195 }
196 ],
197 "fn_function_keys": [
198 {
199 "from": {
200 "key_code": "f1"
201 },
202 "to": [
203 {
204 "consumer_key_code": "display_brightness_decrement"
205 }
206 ]
207 },
208 {
209 "from": {
210 "key_code": "f2"
211 },
212 "to": [
213 {
214 "consumer_key_code": "display_brightness_increment"
215 }
216 ]
217 },
218 {
219 "from": {
220 "key_code": "f3"
221 },
222 "to": [
223 {
224 "key_code": "mission_control"
225 }
226 ]
227 },
228 {
229 "from": {
230 "key_code": "f4"
231 },
232 "to": [
233 {
234 "key_code": "launchpad"
235 }
236 ]
237 },
238 {
239 "from": {
240 "key_code": "f5"
241 },
242 "to": [
243 {
244 "key_code": "illumination_decrement"
245 }
246 ]
247 },
248 {
249 "from": {
250 "key_code": "f6"
251 },
252 "to": [
253 {
254 "key_code": "illumination_increment"
255 }
256 ]
257 },
258 {
259 "from": {
260 "key_code": "f7"
261 },
262 "to": [
263 {
264 "consumer_key_code": "rewind"
265 }
266 ]
267 },
268 {
269 "from": {
270 "key_code": "f8"
271 },
272 "to": [
273 {
274 "consumer_key_code": "play_or_pause"
275 }
276 ]
277 },
278 {
279 "from": {
280 "key_code": "f9"
281 },
282 "to": [
283 {
284 "consumer_key_code": "fast_forward"
285 }
286 ]
287 },
288 {
289 "from": {
290 "key_code": "f10"
291 },
292 "to": [
293 {
294 "consumer_key_code": "mute"
295 }
296 ]
297 },
298 {
299 "from": {
300 "key_code": "f11"
301 },
302 "to": [
303 {
304 "consumer_key_code": "volume_decrement"
305 }
306 ]
307 },
308 {
309 "from": {
310 "key_code": "f12"
311 },
312 "to": [
313 {
314 "consumer_key_code": "volume_increment"
315 }
316 ]
317 }
318 ],
319 "name": "Default profile",
320 "parameters": {
321 "delay_milliseconds_before_open_device": 1000
322 },
323 "selected": true,
324 "simple_modifications": [],
325 "virtual_hid_keyboard": {
326 "country_code": 0,
327 "indicate_sticky_modifier_keys_state": true,
328 "mouse_key_xy_scale": 100
329 }
330 }
331 ]
332 }