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