]> git.r.bdr.sh - rbdr/dotfiles/blob - config/karabiner/karabiner.json
e8977b3c67e1f1511d479962f957dc139c629f8d
[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": true,
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 "identifiers": {
91 "is_keyboard": true,
92 "is_pointing_device": false,
93 "product_id": 25903,
94 "vendor_id": 3141
95 },
96 "ignore": false,
97 "manipulate_caps_lock_led": false,
98 "simple_modifications": [],
99 "treat_as_built_in_keyboard": false
100 },
101 {
102 "disable_built_in_keyboard_if_exists": false,
103 "fn_function_keys": [],
104 "identifiers": {
105 "is_keyboard": true,
106 "is_pointing_device": false,
107 "product_id": 834,
108 "vendor_id": 1452
109 },
110 "ignore": false,
111 "manipulate_caps_lock_led": true,
112 "simple_modifications": [
113 {
114 "from": {
115 "key_code": "non_us_backslash"
116 },
117 "to": [
118 {
119 "key_code": "grave_accent_and_tilde"
120 }
121 ]
122 },
123 {
124 "from": {
125 "key_code": "grave_accent_and_tilde"
126 },
127 "to": [
128 {
129 "key_code": "non_us_backslash"
130 }
131 ]
132 }
133 ],
134 "treat_as_built_in_keyboard": false
135 },
136 {
137 "disable_built_in_keyboard_if_exists": false,
138 "fn_function_keys": [],
139 "identifiers": {
140 "is_keyboard": false,
141 "is_pointing_device": true,
142 "product_id": 834,
143 "vendor_id": 1452
144 },
145 "ignore": true,
146 "manipulate_caps_lock_led": false,
147 "simple_modifications": [],
148 "treat_as_built_in_keyboard": false
149 }
150 ],
151 "fn_function_keys": [
152 {
153 "from": {
154 "key_code": "f1"
155 },
156 "to": [
157 {
158 "consumer_key_code": "display_brightness_decrement"
159 }
160 ]
161 },
162 {
163 "from": {
164 "key_code": "f2"
165 },
166 "to": [
167 {
168 "consumer_key_code": "display_brightness_increment"
169 }
170 ]
171 },
172 {
173 "from": {
174 "key_code": "f3"
175 },
176 "to": [
177 {
178 "key_code": "mission_control"
179 }
180 ]
181 },
182 {
183 "from": {
184 "key_code": "f4"
185 },
186 "to": [
187 {
188 "key_code": "launchpad"
189 }
190 ]
191 },
192 {
193 "from": {
194 "key_code": "f5"
195 },
196 "to": [
197 {
198 "key_code": "illumination_decrement"
199 }
200 ]
201 },
202 {
203 "from": {
204 "key_code": "f6"
205 },
206 "to": [
207 {
208 "key_code": "illumination_increment"
209 }
210 ]
211 },
212 {
213 "from": {
214 "key_code": "f7"
215 },
216 "to": [
217 {
218 "consumer_key_code": "rewind"
219 }
220 ]
221 },
222 {
223 "from": {
224 "key_code": "f8"
225 },
226 "to": [
227 {
228 "consumer_key_code": "play_or_pause"
229 }
230 ]
231 },
232 {
233 "from": {
234 "key_code": "f9"
235 },
236 "to": [
237 {
238 "consumer_key_code": "fast_forward"
239 }
240 ]
241 },
242 {
243 "from": {
244 "key_code": "f10"
245 },
246 "to": [
247 {
248 "consumer_key_code": "mute"
249 }
250 ]
251 },
252 {
253 "from": {
254 "key_code": "f11"
255 },
256 "to": [
257 {
258 "consumer_key_code": "volume_decrement"
259 }
260 ]
261 },
262 {
263 "from": {
264 "key_code": "f12"
265 },
266 "to": [
267 {
268 "consumer_key_code": "volume_increment"
269 }
270 ]
271 }
272 ],
273 "name": "Default profile",
274 "parameters": {
275 "delay_milliseconds_before_open_device": 1000
276 },
277 "selected": true,
278 "simple_modifications": [],
279 "virtual_hid_keyboard": {
280 "country_code": 0,
281 "indicate_sticky_modifier_keys_state": true,
282 "mouse_key_xy_scale": 100
283 }
284 }
285 ]
286 }