aeberts

Karabiner

Sep 28th, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.23 KB | Software | 0 0
  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. "complex_modifications" : {
  11. "parameters" : {
  12. "basic.simultaneous_threshold_milliseconds" : 50,
  13. "basic.to_delayed_action_delay_milliseconds" : 500,
  14. "basic.to_if_alone_timeout_milliseconds" : 1000,
  15. "basic.to_if_held_down_threshold_milliseconds" : 500,
  16. "mouse_motion_to_scroll.speed" : 100
  17. },
  18. "rules" : [ {
  19. "description" : "Change left command + j / k / l / semicolon to Arrows",
  20. "manipulators" : [ {
  21. "from" : {
  22. "key_code" : "j",
  23. "modifiers" : {
  24. "mandatory" : [ "left_command" ],
  25. "optional" : [ "any" ]
  26. }
  27. },
  28. "to" : [ {
  29. "key_code" : "left_arrow"
  30. } ],
  31. "type" : "basic"
  32. }, {
  33. "from" : {
  34. "key_code" : "k",
  35. "modifiers" : {
  36. "mandatory" : [ "left_command" ],
  37. "optional" : [ "any" ]
  38. }
  39. },
  40. "to" : [ {
  41. "key_code" : "down_arrow"
  42. } ],
  43. "type" : "basic"
  44. }, {
  45. "from" : {
  46. "key_code" : "l",
  47. "modifiers" : {
  48. "mandatory" : [ "left_command" ],
  49. "optional" : [ "any" ]
  50. }
  51. },
  52. "to" : [ {
  53. "key_code" : "up_arrow"
  54. } ],
  55. "type" : "basic"
  56. }, {
  57. "from" : {
  58. "key_code" : "semicolon",
  59. "modifiers" : {
  60. "mandatory" : [ "left_command" ],
  61. "optional" : [ "any" ]
  62. }
  63. },
  64. "to" : [ {
  65. "key_code" : "right_arrow"
  66. } ],
  67. "type" : "basic"
  68. } ]
  69. }, {
  70. "description" : "IntelliJ: Change left command + Quote to End, Only in IntelliJ",
  71. "manipulators" : [ {
  72. "conditions" : [ {
  73. "bundle_identifiers" : [ "^com\\.jetbrains\\.intellij\\.ce$" ],
  74. "type" : "frontmost_application_if"
  75. } ],
  76. "from" : {
  77. "key_code" : "quote",
  78. "modifiers" : {
  79. "mandatory" : [ "command" ],
  80. "optional" : [ "any" ]
  81. }
  82. },
  83. "to" : [ {
  84. "key_code" : "end"
  85. } ],
  86. "type" : "basic"
  87. }, {
  88. "conditions" : [ {
  89. "bundle_identifiers" : [ "^com\\.jetbrains\\.intellij\\.ce$" ],
  90. "type" : "frontmost_application_if"
  91. } ],
  92. "from" : {
  93. "key_code" : "h",
  94. "modifiers" : {
  95. "mandatory" : [ "left_command" ],
  96. "optional" : [ "any" ]
  97. }
  98. },
  99. "to" : [ {
  100. "key_code" : "home"
  101. } ],
  102. "type" : "basic"
  103. } ]
  104. }, {
  105. "description" : "Change Command + H to Home, Command + Quote to End, Not in Terminal",
  106. "manipulators" : [ {
  107. "conditions" : [ {
  108. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^co\\.zeit\\.hyperterm$", "^co\\.zeit\\.hyper$", "^io\\.alacritty$", "^net\\.kovidgoyal\\.kitty$" ],
  109. "type" : "frontmost_application_unless"
  110. } ],
  111. "from" : {
  112. "key_code" : "h",
  113. "modifiers" : {
  114. "mandatory" : [ "left_command" ],
  115. "optional" : [ "any" ]
  116. }
  117. },
  118. "to" : [ {
  119. "key_code" : "left_arrow",
  120. "modifiers" : [ "left_command" ]
  121. } ],
  122. "type" : "basic"
  123. }, {
  124. "conditions" : [ {
  125. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^co\\.zeit\\.hyperterm$", "^co\\.zeit\\.hyper$", "^io\\.alacritty$", "^net\\.kovidgoyal\\.kitty$" ],
  126. "type" : "frontmost_application_unless"
  127. } ],
  128. "from" : {
  129. "key_code" : "quote",
  130. "modifiers" : {
  131. "mandatory" : [ "left_command" ],
  132. "optional" : [ "any" ]
  133. }
  134. },
  135. "to" : [ {
  136. "key_code" : "right_arrow",
  137. "modifiers" : [ "right_command" ]
  138. } ],
  139. "type" : "basic"
  140. } ]
  141. }, {
  142. "description" : "Chrome: Command O | Go to Chrome Address Bar",
  143. "manipulators" : [ {
  144. "conditions" : [ {
  145. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.google\\.Chrome\\.canary$", "^com\\.brave\\.Browser$", "^com\\.brave\\.Browser\\.beta$" ],
  146. "type" : "frontmost_application_if"
  147. } ],
  148. "from" : {
  149. "key_code" : "o",
  150. "modifiers" : {
  151. "mandatory" : [ "command" ]
  152. }
  153. },
  154. "to" : [ {
  155. "key_code" : "l",
  156. "modifiers" : [ "left_command" ]
  157. } ],
  158. "type" : "basic"
  159. } ]
  160. }, {
  161. "description" : "Chrome: Command + comma | Back",
  162. "manipulators" : [ {
  163. "conditions" : [ {
  164. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.google\\.Chrome\\.canary$", "^com\\.brave\\.Browser$", "^com\\.brave\\.Browser\\.beta$" ],
  165. "type" : "frontmost_application_if"
  166. } ],
  167. "from" : {
  168. "key_code" : "comma",
  169. "modifiers" : {
  170. "mandatory" : [ "command" ]
  171. }
  172. },
  173. "to" : [ {
  174. "key_code" : "left_arrow",
  175. "modifiers" : [ "command" ]
  176. } ],
  177. "type" : "basic"
  178. } ]
  179. }, {
  180. "description" : "Chrome: Command + period | Forward",
  181. "manipulators" : [ {
  182. "conditions" : [ {
  183. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.google\\.Chrome\\.canary$", "^com\\.brave\\.Browser$", "^com\\.brave\\.Browser\\.beta$" ],
  184. "type" : "frontmost_application_if"
  185. } ],
  186. "from" : {
  187. "key_code" : "period",
  188. "modifiers" : {
  189. "mandatory" : [ "command" ]
  190. }
  191. },
  192. "to" : [ {
  193. "key_code" : "right_arrow",
  194. "modifiers" : [ "command" ]
  195. } ],
  196. "type" : "basic"
  197. } ]
  198. }, {
  199. "description" : "MacVim: Command to Control",
  200. "manipulators" : [ {
  201. "conditions" : [ {
  202. "bundle_identifiers" : [ "^org\\.vim\\.MacVim$" ],
  203. "type" : "frontmost_application_if"
  204. } ],
  205. "from" : {
  206. "key_code" : "left_command",
  207. "modifiers" : {
  208. "optional" : [ "any" ]
  209. }
  210. },
  211. "to" : [ {
  212. "key_code" : "left_control",
  213. "modifiers" : [ "any" ]
  214. } ],
  215. "type" : "basic"
  216. } ]
  217. }, {
  218. "description" : "MacVim: SizeUp Window Control Left",
  219. "manipulators" : [ {
  220. "conditions" : [ {
  221. "bundle_identifiers" : [ "^org\\.vim\\.MacVim$" ],
  222. "type" : "frontmost_application_if"
  223. } ],
  224. "from" : {
  225. "key_code" : "1",
  226. "modifiers" : {
  227. "mandatory" : [ "left_control", "option" ]
  228. }
  229. },
  230. "to" : [ {
  231. "key_code" : "1",
  232. "modifiers" : [ "left_command", "option" ]
  233. } ],
  234. "type" : "basic"
  235. } ]
  236. }, {
  237. "description" : "MacVim: SizeUp Window Control Center",
  238. "manipulators" : [ {
  239. "conditions" : [ {
  240. "bundle_identifiers" : [ "^org\\.vim\\.MacVim$" ],
  241. "type" : "frontmost_application_if"
  242. } ],
  243. "from" : {
  244. "key_code" : "2",
  245. "modifiers" : {
  246. "mandatory" : [ "left_control", "option" ]
  247. }
  248. },
  249. "to" : [ {
  250. "key_code" : "2",
  251. "modifiers" : [ "left_command", "option" ]
  252. } ],
  253. "type" : "basic"
  254. } ]
  255. }, {
  256. "description" : "MacVim: SizeUp Window Control Right",
  257. "manipulators" : [ {
  258. "conditions" : [ {
  259. "bundle_identifiers" : [ "^org\\.vim\\.MacVim$" ],
  260. "type" : "frontmost_application_if"
  261. } ],
  262. "from" : {
  263. "key_code" : "3",
  264. "modifiers" : {
  265. "mandatory" : [ "left_control", "option" ]
  266. }
  267. },
  268. "to" : [ {
  269. "key_code" : "3",
  270. "modifiers" : [ "left_command", "option" ]
  271. } ],
  272. "type" : "basic"
  273. } ]
  274. }, {
  275. "description" : "MacVim: Ctrt-Tab to Command Tab",
  276. "manipulators" : [ {
  277. "conditions" : [ {
  278. "bundle_identifiers" : [ "^org\\.vim\\.MacVim$" ],
  279. "type" : "frontmost_application_if"
  280. } ],
  281. "from" : {
  282. "key_code" : "tab",
  283. "modifiers" : {
  284. "mandatory" : [ "left_control" ]
  285. }
  286. },
  287. "to" : [ {
  288. "key_code" : "tab",
  289. "modifiers" : [ "left_command" ]
  290. } ],
  291. "type" : "basic"
  292. } ]
  293. }, {
  294. "description" : "Emacs: Command to Control",
  295. "manipulators" : [ {
  296. "conditions" : [ {
  297. "bundle_identifiers" : [ "^org\\.gnu\\.Emacs$" ],
  298. "type" : "frontmost_application_if"
  299. } ],
  300. "from" : {
  301. "key_code" : "left_command",
  302. "modifiers" : {
  303. "optional" : [ "any" ]
  304. }
  305. },
  306. "to" : [ {
  307. "key_code" : "left_control",
  308. "modifiers" : [ "any" ]
  309. } ],
  310. "type" : "basic"
  311. } ]
  312. }, {
  313. "description" : "Emacs: SizeUp Window Control Left",
  314. "manipulators" : [ {
  315. "conditions" : [ {
  316. "bundle_identifiers" : [ "^org\\.gnu\\.Emacs$" ],
  317. "type" : "frontmost_application_if"
  318. } ],
  319. "from" : {
  320. "key_code" : "1",
  321. "modifiers" : {
  322. "mandatory" : [ "left_control", "option" ]
  323. }
  324. },
  325. "to" : [ {
  326. "key_code" : "1",
  327. "modifiers" : [ "left_command", "option" ]
  328. } ],
  329. "type" : "basic"
  330. } ]
  331. }, {
  332. "description" : "Emacs: SizeUp Window Control Center",
  333. "manipulators" : [ {
  334. "conditions" : [ {
  335. "bundle_identifiers" : [ "^org\\.gnu\\.Emacs$" ],
  336. "type" : "frontmost_application_if"
  337. } ],
  338. "from" : {
  339. "key_code" : "2",
  340. "modifiers" : {
  341. "mandatory" : [ "left_control", "option" ]
  342. }
  343. },
  344. "to" : [ {
  345. "key_code" : "2",
  346. "modifiers" : [ "left_command", "option" ]
  347. } ],
  348. "type" : "basic"
  349. } ]
  350. }, {
  351. "description" : "Emacs: SizeUp Window Control Right",
  352. "manipulators" : [ {
  353. "conditions" : [ {
  354. "bundle_identifiers" : [ "^org\\.gnu\\.Emacs$" ],
  355. "type" : "frontmost_application_if"
  356. } ],
  357. "from" : {
  358. "key_code" : "3",
  359. "modifiers" : {
  360. "mandatory" : [ "left_control", "option" ]
  361. }
  362. },
  363. "to" : [ {
  364. "key_code" : "3",
  365. "modifiers" : [ "left_command", "option" ]
  366. } ],
  367. "type" : "basic"
  368. } ]
  369. }, {
  370. "description" : "Emacs: Ctrt-Tab to Command Tab",
  371. "manipulators" : [ {
  372. "conditions" : [ {
  373. "bundle_identifiers" : [ "^org\\.gnu\\.Emacs$" ],
  374. "type" : "frontmost_application_if"
  375. } ],
  376. "from" : {
  377. "key_code" : "tab",
  378. "modifiers" : {
  379. "mandatory" : [ "left_control" ]
  380. }
  381. },
  382. "to" : [ {
  383. "key_code" : "tab",
  384. "modifiers" : [ "left_command" ]
  385. } ],
  386. "type" : "basic"
  387. } ]
  388. }, {
  389. "description" : "Emacs: Ctrt-backtick to Command-backtick",
  390. "manipulators" : [ {
  391. "conditions" : [ {
  392. "bundle_identifiers" : [ "^org\\.gnu\\.Emacs$" ],
  393. "type" : "frontmost_application_if"
  394. } ],
  395. "from" : {
  396. "key_code" : "grave_accent_and_tilde",
  397. "modifiers" : {
  398. "mandatory" : [ "left_control" ]
  399. }
  400. },
  401. "to" : [ {
  402. "key_code" : "grave_accent_and_tilde",
  403. "modifiers" : [ "left_command" ]
  404. } ],
  405. "type" : "basic"
  406. } ]
  407. }, {
  408. "description" : "Terminal: Command to Control",
  409. "manipulators" : [ {
  410. "conditions" : [ {
  411. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ],
  412. "type" : "frontmost_application_if"
  413. } ],
  414. "from" : {
  415. "key_code" : "left_command",
  416. "modifiers" : {
  417. "optional" : [ "any" ]
  418. }
  419. },
  420. "to" : [ {
  421. "key_code" : "left_control",
  422. "modifiers" : [ "any" ]
  423. } ],
  424. "type" : "basic"
  425. } ]
  426. }, {
  427. "description" : "Terminal: SizeUp Window Control Left",
  428. "manipulators" : [ {
  429. "conditions" : [ {
  430. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ],
  431. "type" : "frontmost_application_if"
  432. } ],
  433. "from" : {
  434. "key_code" : "1",
  435. "modifiers" : {
  436. "mandatory" : [ "left_control", "option" ]
  437. }
  438. },
  439. "to" : [ {
  440. "key_code" : "1",
  441. "modifiers" : [ "left_command", "option" ]
  442. } ],
  443. "type" : "basic"
  444. } ]
  445. }, {
  446. "description" : "Terminal: SizeUp Window Control Center",
  447. "manipulators" : [ {
  448. "conditions" : [ {
  449. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ],
  450. "type" : "frontmost_application_if"
  451. } ],
  452. "from" : {
  453. "key_code" : "2",
  454. "modifiers" : {
  455. "mandatory" : [ "left_control", "option" ]
  456. }
  457. },
  458. "to" : [ {
  459. "key_code" : "2",
  460. "modifiers" : [ "left_command", "option" ]
  461. } ],
  462. "type" : "basic"
  463. } ]
  464. }, {
  465. "description" : "Terminal: SizeUp Window Control Right",
  466. "manipulators" : [ {
  467. "conditions" : [ {
  468. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ],
  469. "type" : "frontmost_application_if"
  470. } ],
  471. "from" : {
  472. "key_code" : "3",
  473. "modifiers" : {
  474. "mandatory" : [ "left_control", "option" ]
  475. }
  476. },
  477. "to" : [ {
  478. "key_code" : "3",
  479. "modifiers" : [ "left_command", "option" ]
  480. } ],
  481. "type" : "basic"
  482. } ]
  483. }, {
  484. "description" : "Terminal: Ctrt-Tab to Command Tab",
  485. "manipulators" : [ {
  486. "conditions" : [ {
  487. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ],
  488. "type" : "frontmost_application_if"
  489. } ],
  490. "from" : {
  491. "key_code" : "tab",
  492. "modifiers" : {
  493. "mandatory" : [ "left_control" ]
  494. }
  495. },
  496. "to" : [ {
  497. "key_code" : "tab",
  498. "modifiers" : [ "left_command" ]
  499. } ],
  500. "type" : "basic"
  501. } ]
  502. }, {
  503. "description" : "Terminal: Ctrt-backtick to Command-backtick",
  504. "manipulators" : [ {
  505. "conditions" : [ {
  506. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ],
  507. "type" : "frontmost_application_if"
  508. } ],
  509. "from" : {
  510. "key_code" : "grave_accent_and_tilde",
  511. "modifiers" : {
  512. "mandatory" : [ "left_control" ]
  513. }
  514. },
  515. "to" : [ {
  516. "key_code" : "grave_accent_and_tilde",
  517. "modifiers" : [ "left_command" ]
  518. } ],
  519. "type" : "basic"
  520. } ]
  521. } ]
  522. },
  523. "devices" : [ {
  524. "disable_built_in_keyboard_if_exists" : false,
  525. "fn_function_keys" : [ ],
  526. "identifiers" : {
  527. "is_keyboard" : true,
  528. "is_pointing_device" : false,
  529. "product_id" : 835,
  530. "vendor_id" : 1452
  531. },
  532. "ignore" : false,
  533. "manipulate_caps_lock_led" : true,
  534. "simple_modifications" : [ ],
  535. "treat_as_built_in_keyboard" : false
  536. }, {
  537. "disable_built_in_keyboard_if_exists" : false,
  538. "fn_function_keys" : [ ],
  539. "identifiers" : {
  540. "is_keyboard" : false,
  541. "is_pointing_device" : true,
  542. "product_id" : 835,
  543. "vendor_id" : 1452
  544. },
  545. "ignore" : true,
  546. "manipulate_caps_lock_led" : false,
  547. "simple_modifications" : [ ],
  548. "treat_as_built_in_keyboard" : false
  549. }, {
  550. "disable_built_in_keyboard_if_exists" : false,
  551. "fn_function_keys" : [ ],
  552. "identifiers" : {
  553. "is_keyboard" : false,
  554. "is_pointing_device" : true,
  555. "product_id" : 9,
  556. "vendor_id" : 9992
  557. },
  558. "ignore" : true,
  559. "manipulate_caps_lock_led" : false,
  560. "simple_modifications" : [ ],
  561. "treat_as_built_in_keyboard" : false
  562. } ],
  563. "fn_function_keys" : [ {
  564. "from" : {
  565. "key_code" : "f1"
  566. },
  567. "to" : [ {
  568. "consumer_key_code" : "display_brightness_decrement"
  569. } ]
  570. }, {
  571. "from" : {
  572. "key_code" : "f2"
  573. },
  574. "to" : [ {
  575. "consumer_key_code" : "display_brightness_increment"
  576. } ]
  577. }, {
  578. "from" : {
  579. "key_code" : "f3"
  580. },
  581. "to" : [ {
  582. "apple_vendor_keyboard_key_code" : "mission_control"
  583. } ]
  584. }, {
  585. "from" : {
  586. "key_code" : "f4"
  587. },
  588. "to" : [ {
  589. "apple_vendor_keyboard_key_code" : "spotlight"
  590. } ]
  591. }, {
  592. "from" : {
  593. "key_code" : "f5"
  594. },
  595. "to" : [ {
  596. "consumer_key_code" : "dictation"
  597. } ]
  598. }, {
  599. "from" : {
  600. "key_code" : "f6"
  601. },
  602. "to" : [ {
  603. "key_code" : "f6"
  604. } ]
  605. }, {
  606. "from" : {
  607. "key_code" : "f7"
  608. },
  609. "to" : [ {
  610. "consumer_key_code" : "rewind"
  611. } ]
  612. }, {
  613. "from" : {
  614. "key_code" : "f8"
  615. },
  616. "to" : [ {
  617. "consumer_key_code" : "play_or_pause"
  618. } ]
  619. }, {
  620. "from" : {
  621. "key_code" : "f9"
  622. },
  623. "to" : [ {
  624. "consumer_key_code" : "fast_forward"
  625. } ]
  626. }, {
  627. "from" : {
  628. "key_code" : "f10"
  629. },
  630. "to" : [ {
  631. "consumer_key_code" : "mute"
  632. } ]
  633. }, {
  634. "from" : {
  635. "key_code" : "f11"
  636. },
  637. "to" : [ {
  638. "consumer_key_code" : "volume_decrement"
  639. } ]
  640. }, {
  641. "from" : {
  642. "key_code" : "f12"
  643. },
  644. "to" : [ {
  645. "consumer_key_code" : "volume_increment"
  646. } ]
  647. } ],
  648. "name" : "Zand",
  649. "parameters" : {
  650. "delay_milliseconds_before_open_device" : 1000
  651. },
  652. "selected" : false,
  653. "simple_modifications" : [ {
  654. "from" : {
  655. "key_code" : "caps_lock"
  656. },
  657. "to" : [ {
  658. "key_code" : "left_command"
  659. } ]
  660. } ],
  661. "virtual_hid_keyboard" : {
  662. "country_code" : 0,
  663. "indicate_sticky_modifier_keys_state" : true,
  664. "mouse_key_xy_scale" : 100
  665. }
  666. }, {
  667. "complex_modifications" : {
  668. "parameters" : {
  669. "basic.simultaneous_threshold_milliseconds" : 50,
  670. "basic.to_delayed_action_delay_milliseconds" : 500,
  671. "basic.to_if_alone_timeout_milliseconds" : 1000,
  672. "basic.to_if_held_down_threshold_milliseconds" : 500,
  673. "mouse_motion_to_scroll.speed" : 100
  674. },
  675. "rules" : [ ]
  676. },
  677. "devices" : [ {
  678. "disable_built_in_keyboard_if_exists" : false,
  679. "fn_function_keys" : [ ],
  680. "identifiers" : {
  681. "is_keyboard" : true,
  682. "is_pointing_device" : false,
  683. "product_id" : 835,
  684. "vendor_id" : 1452
  685. },
  686. "ignore" : false,
  687. "manipulate_caps_lock_led" : true,
  688. "simple_modifications" : [ ],
  689. "treat_as_built_in_keyboard" : false
  690. }, {
  691. "disable_built_in_keyboard_if_exists" : false,
  692. "fn_function_keys" : [ ],
  693. "identifiers" : {
  694. "is_keyboard" : false,
  695. "is_pointing_device" : true,
  696. "product_id" : 835,
  697. "vendor_id" : 1452
  698. },
  699. "ignore" : true,
  700. "manipulate_caps_lock_led" : false,
  701. "simple_modifications" : [ ],
  702. "treat_as_built_in_keyboard" : false
  703. }, {
  704. "disable_built_in_keyboard_if_exists" : false,
  705. "fn_function_keys" : [ ],
  706. "identifiers" : {
  707. "is_keyboard" : false,
  708. "is_pointing_device" : true,
  709. "product_id" : 9,
  710. "vendor_id" : 9992
  711. },
  712. "ignore" : true,
  713. "manipulate_caps_lock_led" : false,
  714. "simple_modifications" : [ ],
  715. "treat_as_built_in_keyboard" : false
  716. } ],
  717. "fn_function_keys" : [ {
  718. "from" : {
  719. "key_code" : "f1"
  720. },
  721. "to" : [ {
  722. "consumer_key_code" : "display_brightness_decrement"
  723. } ]
  724. }, {
  725. "from" : {
  726. "key_code" : "f2"
  727. },
  728. "to" : [ {
  729. "consumer_key_code" : "display_brightness_increment"
  730. } ]
  731. }, {
  732. "from" : {
  733. "key_code" : "f3"
  734. },
  735. "to" : [ {
  736. "apple_vendor_keyboard_key_code" : "mission_control"
  737. } ]
  738. }, {
  739. "from" : {
  740. "key_code" : "f4"
  741. },
  742. "to" : [ {
  743. "apple_vendor_keyboard_key_code" : "spotlight"
  744. } ]
  745. }, {
  746. "from" : {
  747. "key_code" : "f5"
  748. },
  749. "to" : [ {
  750. "consumer_key_code" : "dictation"
  751. } ]
  752. }, {
  753. "from" : {
  754. "key_code" : "f6"
  755. },
  756. "to" : [ {
  757. "key_code" : "f6"
  758. } ]
  759. }, {
  760. "from" : {
  761. "key_code" : "f7"
  762. },
  763. "to" : [ {
  764. "consumer_key_code" : "rewind"
  765. } ]
  766. }, {
  767. "from" : {
  768. "key_code" : "f8"
  769. },
  770. "to" : [ {
  771. "consumer_key_code" : "play_or_pause"
  772. } ]
  773. }, {
  774. "from" : {
  775. "key_code" : "f9"
  776. },
  777. "to" : [ {
  778. "consumer_key_code" : "fast_forward"
  779. } ]
  780. }, {
  781. "from" : {
  782. "key_code" : "f10"
  783. },
  784. "to" : [ {
  785. "consumer_key_code" : "mute"
  786. } ]
  787. }, {
  788. "from" : {
  789. "key_code" : "f11"
  790. },
  791. "to" : [ {
  792. "consumer_key_code" : "volume_decrement"
  793. } ]
  794. }, {
  795. "from" : {
  796. "key_code" : "f12"
  797. },
  798. "to" : [ {
  799. "consumer_key_code" : "volume_increment"
  800. } ]
  801. } ],
  802. "name" : "Disabled",
  803. "parameters" : {
  804. "delay_milliseconds_before_open_device" : 1000
  805. },
  806. "selected" : false,
  807. "simple_modifications" : [ ],
  808. "virtual_hid_keyboard" : {
  809. "country_code" : 0,
  810. "indicate_sticky_modifier_keys_state" : true,
  811. "mouse_key_xy_scale" : 100
  812. }
  813. }, {
  814. "complex_modifications" : {
  815. "parameters" : {
  816. "basic.simultaneous_threshold_milliseconds" : 100,
  817. "basic.to_delayed_action_delay_milliseconds" : 500,
  818. "basic.to_if_alone_timeout_milliseconds" : 1000,
  819. "basic.to_if_held_down_threshold_milliseconds" : 500
  820. },
  821. "rules" : [ {
  822. "description" : "CAPS_LOCK to ESC when pressed alone, to CONTROL as modifier in UNIX-like apps",
  823. "manipulators" : [ {
  824. "to_if_alone" : [ {
  825. "key_code" : "escape"
  826. } ],
  827. "from" : {
  828. "key_code" : "caps_lock",
  829. "modifiers" : {
  830. "optional" : [ "any" ]
  831. }
  832. },
  833. "to" : [ {
  834. "key_code" : "left_control"
  835. } ],
  836. "conditions" : [ {
  837. "type" : "frontmost_application_if",
  838. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  839. } ],
  840. "type" : "basic"
  841. }, {
  842. "from" : {
  843. "key_code" : "j",
  844. "modifiers" : {
  845. "mandatory" : [ "left_control" ]
  846. }
  847. },
  848. "to" : [ {
  849. "key_code" : "left_arrow"
  850. } ],
  851. "conditions" : [ {
  852. "type" : "frontmost_application_if",
  853. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$" ]
  854. } ],
  855. "type" : "basic"
  856. }, {
  857. "from" : {
  858. "key_code" : "k",
  859. "modifiers" : {
  860. "mandatory" : [ "left_control" ]
  861. }
  862. },
  863. "to" : [ {
  864. "key_code" : "down_arrow"
  865. } ],
  866. "conditions" : [ {
  867. "type" : "frontmost_application_if",
  868. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$" ]
  869. } ],
  870. "type" : "basic"
  871. }, {
  872. "from" : {
  873. "key_code" : "l",
  874. "modifiers" : {
  875. "mandatory" : [ "left_control" ]
  876. }
  877. },
  878. "to" : [ {
  879. "key_code" : "up_arrow"
  880. } ],
  881. "conditions" : [ {
  882. "type" : "frontmost_application_if",
  883. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$" ]
  884. } ],
  885. "type" : "basic"
  886. }, {
  887. "from" : {
  888. "key_code" : "semicolon",
  889. "modifiers" : {
  890. "mandatory" : [ "left_control" ]
  891. }
  892. },
  893. "to" : [ {
  894. "key_code" : "right_arrow"
  895. } ],
  896. "conditions" : [ {
  897. "type" : "frontmost_application_if",
  898. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$" ]
  899. } ],
  900. "type" : "basic"
  901. }, {
  902. "from" : {
  903. "key_code" : "h",
  904. "modifiers" : {
  905. "mandatory" : [ "left_control" ]
  906. }
  907. },
  908. "to" : [ {
  909. "key_code" : "a",
  910. "modifiers" : [ "left_control" ]
  911. } ],
  912. "conditions" : [ {
  913. "type" : "frontmost_application_if",
  914. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$" ]
  915. } ],
  916. "type" : "basic"
  917. }, {
  918. "from" : {
  919. "key_code" : "quote",
  920. "modifiers" : {
  921. "mandatory" : [ "left_control" ]
  922. }
  923. },
  924. "to" : [ {
  925. "key_code" : "e",
  926. "modifiers" : [ "left_control" ]
  927. } ],
  928. "conditions" : [ {
  929. "type" : "frontmost_application_if",
  930. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$" ]
  931. } ],
  932. "type" : "basic"
  933. }, {
  934. "from" : {
  935. "key_code" : "u",
  936. "modifiers" : {
  937. "mandatory" : [ "left_control" ]
  938. }
  939. },
  940. "to" : [ {
  941. "key_code" : "k",
  942. "modifiers" : [ "left_control" ]
  943. } ],
  944. "conditions" : [ {
  945. "type" : "frontmost_application_if",
  946. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$" ]
  947. } ],
  948. "type" : "basic"
  949. }, {
  950. "from" : {
  951. "key_code" : "j",
  952. "modifiers" : {
  953. "mandatory" : [ "left_control", "left_option" ]
  954. }
  955. },
  956. "to" : [ {
  957. "key_code" : "left_arrow",
  958. "modifiers" : [ "left_option" ]
  959. } ],
  960. "conditions" : [ {
  961. "type" : "frontmost_application_if",
  962. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ]
  963. } ],
  964. "type" : "basic"
  965. }, {
  966. "from" : {
  967. "key_code" : "semicolon",
  968. "modifiers" : {
  969. "mandatory" : [ "left_control", "left_option" ]
  970. }
  971. },
  972. "to" : [ {
  973. "key_code" : "right_arrow",
  974. "modifiers" : [ "left_option" ]
  975. } ],
  976. "conditions" : [ {
  977. "type" : "frontmost_application_if",
  978. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ]
  979. } ],
  980. "type" : "basic"
  981. }, {
  982. "from" : {
  983. "key_code" : "close_bracket",
  984. "modifiers" : {
  985. "mandatory" : [ "left_control", "left_shift" ]
  986. }
  987. },
  988. "to" : [ {
  989. "key_code" : "tab",
  990. "modifiers" : [ "left_control" ]
  991. } ],
  992. "conditions" : [ {
  993. "type" : "frontmost_application_if",
  994. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ]
  995. } ],
  996. "type" : "basic"
  997. }, {
  998. "from" : {
  999. "key_code" : "open_bracket",
  1000. "modifiers" : {
  1001. "mandatory" : [ "left_control", "left_shift" ]
  1002. }
  1003. },
  1004. "to" : [ {
  1005. "key_code" : "tab",
  1006. "modifiers" : [ "left_control", "left_shift" ]
  1007. } ],
  1008. "conditions" : [ {
  1009. "type" : "frontmost_application_if",
  1010. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$" ]
  1011. } ],
  1012. "type" : "basic"
  1013. }, {
  1014. "from" : {
  1015. "key_code" : "j",
  1016. "modifiers" : {
  1017. "mandatory" : [ "left_control", "left_option" ]
  1018. }
  1019. },
  1020. "to" : [ {
  1021. "key_code" : "escape"
  1022. }, {
  1023. "key_code" : "b"
  1024. } ],
  1025. "conditions" : [ {
  1026. "type" : "frontmost_application_if",
  1027. "bundle_identifiers" : [ "^com\\.googlecode\\.iterm2$" ]
  1028. } ],
  1029. "type" : "basic"
  1030. }, {
  1031. "from" : {
  1032. "key_code" : "semicolon",
  1033. "modifiers" : {
  1034. "mandatory" : [ "left_control", "left_option" ]
  1035. }
  1036. },
  1037. "to" : [ {
  1038. "key_code" : "escape"
  1039. }, {
  1040. "key_code" : "f"
  1041. } ],
  1042. "conditions" : [ {
  1043. "type" : "frontmost_application_if",
  1044. "bundle_identifiers" : [ "^com\\.googlecode\\.iterm2$" ]
  1045. } ],
  1046. "type" : "basic"
  1047. }, {
  1048. "from" : {
  1049. "key_code" : "close_bracket",
  1050. "modifiers" : {
  1051. "mandatory" : [ "left_control", "left_shift" ]
  1052. }
  1053. },
  1054. "to" : [ {
  1055. "key_code" : "close_bracket",
  1056. "modifiers" : [ "left_command", "left_shift" ]
  1057. } ],
  1058. "conditions" : [ {
  1059. "type" : "frontmost_application_if",
  1060. "bundle_identifiers" : [ "^com\\.googlecode\\.iterm2$" ]
  1061. } ],
  1062. "type" : "basic"
  1063. }, {
  1064. "from" : {
  1065. "key_code" : "open_bracket",
  1066. "modifiers" : {
  1067. "mandatory" : [ "left_control", "left_shift" ]
  1068. }
  1069. },
  1070. "to" : [ {
  1071. "key_code" : "open_bracket",
  1072. "modifiers" : [ "left_command", "left_shift" ]
  1073. } ],
  1074. "conditions" : [ {
  1075. "type" : "frontmost_application_if",
  1076. "bundle_identifiers" : [ "^com\\.googlecode\\.iterm2$" ]
  1077. } ],
  1078. "type" : "basic"
  1079. } ]
  1080. }, {
  1081. "description" : "CAPS_LOCK to HYPER as modifier in Mac apps",
  1082. "manipulators" : [ {
  1083. "from" : {
  1084. "key_code" : "caps_lock",
  1085. "modifiers" : {
  1086. "optional" : [ "any" ]
  1087. }
  1088. },
  1089. "to" : [ {
  1090. "key_code" : "left_shift",
  1091. "modifiers" : [ "left_command", "left_control", "left_option" ]
  1092. } ],
  1093. "conditions" : [ {
  1094. "type" : "frontmost_application_unless",
  1095. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1096. } ],
  1097. "type" : "basic"
  1098. }, {
  1099. "from" : {
  1100. "key_code" : "o",
  1101. "modifiers" : {
  1102. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1103. }
  1104. },
  1105. "to" : [ {
  1106. "key_code" : "l",
  1107. "modifiers" : [ "left_command" ]
  1108. } ],
  1109. "conditions" : [ {
  1110. "type" : "frontmost_application_if",
  1111. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.brave\\.Browser$", "^com\\.apple\\.Safari$" ]
  1112. } ],
  1113. "type" : "basic"
  1114. }, {
  1115. "from" : {
  1116. "key_code" : "t",
  1117. "modifiers" : {
  1118. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1119. }
  1120. },
  1121. "to" : [ {
  1122. "key_code" : "t",
  1123. "modifiers" : [ "left_command" ]
  1124. } ],
  1125. "conditions" : [ {
  1126. "type" : "frontmost_application_if",
  1127. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.brave\\.Browser$", "^com\\.apple\\.Safari$" ]
  1128. } ],
  1129. "type" : "basic"
  1130. }, {
  1131. "from" : {
  1132. "key_code" : "comma",
  1133. "modifiers" : {
  1134. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1135. }
  1136. },
  1137. "to" : [ {
  1138. "key_code" : "left_arrow",
  1139. "modifiers" : [ "left_command" ]
  1140. } ],
  1141. "conditions" : [ {
  1142. "type" : "frontmost_application_if",
  1143. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.brave\\.Browser$", "^com\\.apple\\.Safari$" ]
  1144. } ],
  1145. "type" : "basic"
  1146. }, {
  1147. "from" : {
  1148. "key_code" : "period",
  1149. "modifiers" : {
  1150. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1151. }
  1152. },
  1153. "to" : [ {
  1154. "key_code" : "right_arrow",
  1155. "modifiers" : [ "left_command" ]
  1156. } ],
  1157. "conditions" : [ {
  1158. "type" : "frontmost_application_if",
  1159. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.brave\\.Browser$", "^com\\.apple\\.Safari$" ]
  1160. } ],
  1161. "type" : "basic"
  1162. }, {
  1163. "from" : {
  1164. "key_code" : "open_bracket",
  1165. "modifiers" : {
  1166. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1167. }
  1168. },
  1169. "to" : [ {
  1170. "key_code" : "tab",
  1171. "modifiers" : [ "left_control", "left_shift" ]
  1172. } ],
  1173. "conditions" : [ {
  1174. "type" : "frontmost_application_if",
  1175. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.brave\\.Browser$", "^com\\.apple\\.Safari$" ]
  1176. } ],
  1177. "type" : "basic"
  1178. }, {
  1179. "from" : {
  1180. "key_code" : "close_bracket",
  1181. "modifiers" : {
  1182. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1183. }
  1184. },
  1185. "to" : [ {
  1186. "key_code" : "tab",
  1187. "modifiers" : [ "left_control" ]
  1188. } ],
  1189. "conditions" : [ {
  1190. "type" : "frontmost_application_if",
  1191. "bundle_identifiers" : [ "^com\\.google\\.Chrome$", "^com\\.brave\\.Browser$", "^com\\.apple\\.Safari$" ]
  1192. } ],
  1193. "type" : "basic"
  1194. }, {
  1195. "from" : {
  1196. "key_code" : "t",
  1197. "modifiers" : {
  1198. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1199. }
  1200. },
  1201. "to" : [ {
  1202. "key_code" : "t",
  1203. "modifiers" : [ "left_command" ]
  1204. } ],
  1205. "conditions" : [ {
  1206. "type" : "frontmost_application_if",
  1207. "bundle_identifiers" : [ "^com\\.brave\\.Browser$" ]
  1208. } ],
  1209. "type" : "basic"
  1210. }, {
  1211. "from" : {
  1212. "key_code" : "backslash",
  1213. "modifiers" : {
  1214. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1215. }
  1216. },
  1217. "to" : [ {
  1218. "key_code" : "x",
  1219. "modifiers" : [ "left_command", "left_shift" ]
  1220. } ],
  1221. "conditions" : [ {
  1222. "type" : "frontmost_application_if",
  1223. "bundle_identifiers" : [ "^com\\.brave\\.Browser$" ]
  1224. } ],
  1225. "type" : "basic"
  1226. }, {
  1227. "from" : {
  1228. "key_code" : "quote",
  1229. "modifiers" : {
  1230. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1231. "optional" : [ "any" ]
  1232. }
  1233. },
  1234. "to" : [ {
  1235. "key_code" : "end"
  1236. } ],
  1237. "conditions" : [ {
  1238. "type" : "frontmost_application_if",
  1239. "bundle_identifiers" : [ "^com\\.jetbrains\\.intellij$" ]
  1240. } ],
  1241. "type" : "basic"
  1242. }, {
  1243. "from" : {
  1244. "key_code" : "h",
  1245. "modifiers" : {
  1246. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1247. "optional" : [ "any" ]
  1248. }
  1249. },
  1250. "to" : [ {
  1251. "key_code" : "home"
  1252. } ],
  1253. "conditions" : [ {
  1254. "type" : "frontmost_application_if",
  1255. "bundle_identifiers" : [ "^com\\.jetbrains\\.intellij$" ]
  1256. } ],
  1257. "type" : "basic"
  1258. }, {
  1259. "from" : {
  1260. "key_code" : "quote",
  1261. "modifiers" : {
  1262. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1263. "optional" : [ "any" ]
  1264. }
  1265. },
  1266. "to" : [ {
  1267. "key_code" : "end"
  1268. } ],
  1269. "conditions" : [ {
  1270. "type" : "frontmost_application_if",
  1271. "bundle_identifiers" : [ "^com\\.microsoft\\.VSCode$" ]
  1272. } ],
  1273. "type" : "basic"
  1274. }, {
  1275. "from" : {
  1276. "key_code" : "h",
  1277. "modifiers" : {
  1278. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1279. "optional" : [ "any" ]
  1280. }
  1281. },
  1282. "to" : [ {
  1283. "key_code" : "home"
  1284. } ],
  1285. "conditions" : [ {
  1286. "type" : "frontmost_application_if",
  1287. "bundle_identifiers" : [ "^com\\.microsoft\\.VSCode$" ]
  1288. } ],
  1289. "type" : "basic"
  1290. }, {
  1291. "from" : {
  1292. "key_code" : "p",
  1293. "modifiers" : {
  1294. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1295. }
  1296. },
  1297. "to" : [ {
  1298. "key_code" : "p",
  1299. "modifiers" : [ "left_command", "left_shift" ]
  1300. } ],
  1301. "conditions" : [ {
  1302. "type" : "frontmost_application_if",
  1303. "bundle_identifiers" : [ "^com\\.microsoft\\.VSCode$" ]
  1304. } ],
  1305. "type" : "basic"
  1306. }, {
  1307. "from" : {
  1308. "key_code" : "spacebar",
  1309. "modifiers" : {
  1310. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1311. "optional" : [ "any" ]
  1312. }
  1313. },
  1314. "to" : [ {
  1315. "key_code" : "spacebar",
  1316. "modifiers" : [ "left_command" ]
  1317. } ],
  1318. "conditions" : [ {
  1319. "type" : "frontmost_application_unless",
  1320. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1321. } ],
  1322. "type" : "basic"
  1323. }, {
  1324. "from" : {
  1325. "key_code" : "j",
  1326. "modifiers" : {
  1327. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1328. "optional" : [ "any" ]
  1329. }
  1330. },
  1331. "to" : [ {
  1332. "key_code" : "left_arrow"
  1333. } ],
  1334. "conditions" : [ {
  1335. "type" : "frontmost_application_unless",
  1336. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1337. } ],
  1338. "type" : "basic"
  1339. }, {
  1340. "from" : {
  1341. "key_code" : "k",
  1342. "modifiers" : {
  1343. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1344. "optional" : [ "any" ]
  1345. }
  1346. },
  1347. "to" : [ {
  1348. "key_code" : "down_arrow"
  1349. } ],
  1350. "conditions" : [ {
  1351. "type" : "frontmost_application_unless",
  1352. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1353. } ],
  1354. "type" : "basic"
  1355. }, {
  1356. "from" : {
  1357. "key_code" : "l",
  1358. "modifiers" : {
  1359. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1360. "optional" : [ "any" ]
  1361. }
  1362. },
  1363. "to" : [ {
  1364. "key_code" : "up_arrow"
  1365. } ],
  1366. "conditions" : [ {
  1367. "type" : "frontmost_application_unless",
  1368. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1369. } ],
  1370. "type" : "basic"
  1371. }, {
  1372. "from" : {
  1373. "key_code" : "semicolon",
  1374. "modifiers" : {
  1375. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1376. "optional" : [ "any" ]
  1377. }
  1378. },
  1379. "to" : [ {
  1380. "key_code" : "right_arrow"
  1381. } ],
  1382. "conditions" : [ {
  1383. "type" : "frontmost_application_unless",
  1384. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1385. } ],
  1386. "type" : "basic"
  1387. }, {
  1388. "from" : {
  1389. "key_code" : "h",
  1390. "modifiers" : {
  1391. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1392. "optional" : [ "any" ]
  1393. }
  1394. },
  1395. "to" : [ {
  1396. "key_code" : "left_arrow",
  1397. "modifiers" : [ "left_command" ]
  1398. } ],
  1399. "conditions" : [ {
  1400. "type" : "frontmost_application_unless",
  1401. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1402. } ],
  1403. "type" : "basic"
  1404. }, {
  1405. "from" : {
  1406. "key_code" : "quote",
  1407. "modifiers" : {
  1408. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ],
  1409. "optional" : [ "any" ]
  1410. }
  1411. },
  1412. "to" : [ {
  1413. "key_code" : "right_arrow",
  1414. "modifiers" : [ "left_command" ]
  1415. } ],
  1416. "conditions" : [ {
  1417. "type" : "frontmost_application_unless",
  1418. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1419. } ],
  1420. "type" : "basic"
  1421. }, {
  1422. "from" : {
  1423. "key_code" : "return_or_enter",
  1424. "modifiers" : {
  1425. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1426. }
  1427. },
  1428. "to" : [ {
  1429. "key_code" : "return_or_enter",
  1430. "modifiers" : [ "left_command" ]
  1431. } ],
  1432. "conditions" : [ {
  1433. "type" : "frontmost_application_unless",
  1434. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1435. } ],
  1436. "type" : "basic"
  1437. }, {
  1438. "from" : {
  1439. "key_code" : "n",
  1440. "modifiers" : {
  1441. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1442. }
  1443. },
  1444. "to" : [ {
  1445. "key_code" : "n",
  1446. "modifiers" : [ "left_command" ]
  1447. } ],
  1448. "conditions" : [ {
  1449. "type" : "frontmost_application_unless",
  1450. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1451. } ],
  1452. "type" : "basic"
  1453. }, {
  1454. "from" : {
  1455. "key_code" : "w",
  1456. "modifiers" : {
  1457. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1458. }
  1459. },
  1460. "to" : [ {
  1461. "key_code" : "w",
  1462. "modifiers" : [ "left_command" ]
  1463. } ],
  1464. "conditions" : [ {
  1465. "type" : "frontmost_application_unless",
  1466. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1467. } ],
  1468. "type" : "basic"
  1469. }, {
  1470. "from" : {
  1471. "key_code" : "c",
  1472. "modifiers" : {
  1473. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1474. }
  1475. },
  1476. "to" : [ {
  1477. "key_code" : "c",
  1478. "modifiers" : [ "left_command" ]
  1479. } ],
  1480. "conditions" : [ {
  1481. "type" : "frontmost_application_unless",
  1482. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1483. } ],
  1484. "type" : "basic"
  1485. }, {
  1486. "from" : {
  1487. "key_code" : "v",
  1488. "modifiers" : {
  1489. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1490. }
  1491. },
  1492. "to" : [ {
  1493. "key_code" : "v",
  1494. "modifiers" : [ "left_command" ]
  1495. } ],
  1496. "conditions" : [ {
  1497. "type" : "frontmost_application_unless",
  1498. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1499. } ],
  1500. "type" : "basic"
  1501. }, {
  1502. "from" : {
  1503. "key_code" : "x",
  1504. "modifiers" : {
  1505. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1506. }
  1507. },
  1508. "to" : [ {
  1509. "key_code" : "x",
  1510. "modifiers" : [ "left_command" ]
  1511. } ],
  1512. "conditions" : [ {
  1513. "type" : "frontmost_application_unless",
  1514. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1515. } ],
  1516. "type" : "basic"
  1517. }, {
  1518. "from" : {
  1519. "key_code" : "b",
  1520. "modifiers" : {
  1521. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1522. }
  1523. },
  1524. "to" : [ {
  1525. "key_code" : "b",
  1526. "modifiers" : [ "left_command" ]
  1527. } ],
  1528. "conditions" : [ {
  1529. "type" : "frontmost_application_unless",
  1530. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1531. } ],
  1532. "type" : "basic"
  1533. }, {
  1534. "from" : {
  1535. "key_code" : "f",
  1536. "modifiers" : {
  1537. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1538. }
  1539. },
  1540. "to" : [ {
  1541. "key_code" : "f",
  1542. "modifiers" : [ "left_command" ]
  1543. } ],
  1544. "conditions" : [ {
  1545. "type" : "frontmost_application_unless",
  1546. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1547. } ],
  1548. "type" : "basic"
  1549. }, {
  1550. "from" : {
  1551. "key_code" : "d",
  1552. "modifiers" : {
  1553. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1554. }
  1555. },
  1556. "to" : [ {
  1557. "key_code" : "d",
  1558. "modifiers" : [ "left_command" ]
  1559. } ],
  1560. "conditions" : [ {
  1561. "type" : "frontmost_application_unless",
  1562. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1563. } ],
  1564. "type" : "basic"
  1565. }, {
  1566. "from" : {
  1567. "key_code" : "z",
  1568. "modifiers" : {
  1569. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1570. }
  1571. },
  1572. "to" : [ {
  1573. "key_code" : "z",
  1574. "modifiers" : [ "left_command" ]
  1575. } ],
  1576. "conditions" : [ {
  1577. "type" : "frontmost_application_unless",
  1578. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1579. } ],
  1580. "type" : "basic"
  1581. }, {
  1582. "from" : {
  1583. "key_code" : "o",
  1584. "modifiers" : {
  1585. "mandatory" : [ "left_command", "left_control", "left_option", "left_shift" ]
  1586. }
  1587. },
  1588. "to" : [ {
  1589. "key_code" : "o",
  1590. "modifiers" : [ "left_command" ]
  1591. } ],
  1592. "conditions" : [ {
  1593. "type" : "frontmost_application_unless",
  1594. "bundle_identifiers" : [ "^com\\.apple\\.Terminal$", "^com\\.googlecode\\.iterm2$", "^org\\.gnu\\.Emacs$", "^org\\.vim\\.MacVim$" ]
  1595. } ],
  1596. "type" : "basic"
  1597. } ]
  1598. } ]
  1599. },
  1600. "devices" : [ {
  1601. "disable_built_in_keyboard_if_exists" : false,
  1602. "fn_function_keys" : [ ],
  1603. "identifiers" : {
  1604. "is_keyboard" : true,
  1605. "is_pointing_device" : false,
  1606. "product_id" : 835,
  1607. "vendor_id" : 1452
  1608. },
  1609. "ignore" : false,
  1610. "manipulate_caps_lock_led" : true,
  1611. "simple_modifications" : [ ],
  1612. "treat_as_built_in_keyboard" : false
  1613. }, {
  1614. "disable_built_in_keyboard_if_exists" : false,
  1615. "fn_function_keys" : [ ],
  1616. "identifiers" : {
  1617. "is_keyboard" : false,
  1618. "is_pointing_device" : true,
  1619. "product_id" : 835,
  1620. "vendor_id" : 1452
  1621. },
  1622. "ignore" : true,
  1623. "manipulate_caps_lock_led" : false,
  1624. "simple_modifications" : [ ],
  1625. "treat_as_built_in_keyboard" : false
  1626. }, {
  1627. "disable_built_in_keyboard_if_exists" : false,
  1628. "fn_function_keys" : [ ],
  1629. "identifiers" : {
  1630. "is_keyboard" : false,
  1631. "is_pointing_device" : true,
  1632. "product_id" : 9,
  1633. "vendor_id" : 9992
  1634. },
  1635. "ignore" : true,
  1636. "manipulate_caps_lock_led" : false,
  1637. "simple_modifications" : [ ],
  1638. "treat_as_built_in_keyboard" : false
  1639. } ],
  1640. "fn_function_keys" : [ {
  1641. "from" : {
  1642. "key_code" : "f1"
  1643. },
  1644. "to" : [ {
  1645. "consumer_key_code" : "display_brightness_decrement"
  1646. } ]
  1647. }, {
  1648. "from" : {
  1649. "key_code" : "f2"
  1650. },
  1651. "to" : [ {
  1652. "consumer_key_code" : "display_brightness_increment"
  1653. } ]
  1654. }, {
  1655. "from" : {
  1656. "key_code" : "f3"
  1657. },
  1658. "to" : [ {
  1659. "apple_vendor_keyboard_key_code" : "mission_control"
  1660. } ]
  1661. }, {
  1662. "from" : {
  1663. "key_code" : "f4"
  1664. },
  1665. "to" : [ {
  1666. "apple_vendor_keyboard_key_code" : "spotlight"
  1667. } ]
  1668. }, {
  1669. "from" : {
  1670. "key_code" : "f5"
  1671. },
  1672. "to" : [ {
  1673. "consumer_key_code" : "dictation"
  1674. } ]
  1675. }, {
  1676. "from" : {
  1677. "key_code" : "f6"
  1678. },
  1679. "to" : [ {
  1680. "key_code" : "f6"
  1681. } ]
  1682. }, {
  1683. "from" : {
  1684. "key_code" : "f7"
  1685. },
  1686. "to" : [ {
  1687. "consumer_key_code" : "rewind"
  1688. } ]
  1689. }, {
  1690. "from" : {
  1691. "key_code" : "f8"
  1692. },
  1693. "to" : [ {
  1694. "consumer_key_code" : "play_or_pause"
  1695. } ]
  1696. }, {
  1697. "from" : {
  1698. "key_code" : "f9"
  1699. },
  1700. "to" : [ {
  1701. "consumer_key_code" : "fast_forward"
  1702. } ]
  1703. }, {
  1704. "from" : {
  1705. "key_code" : "f10"
  1706. },
  1707. "to" : [ {
  1708. "consumer_key_code" : "mute"
  1709. } ]
  1710. }, {
  1711. "from" : {
  1712. "key_code" : "f11"
  1713. },
  1714. "to" : [ {
  1715. "consumer_key_code" : "volume_decrement"
  1716. } ]
  1717. }, {
  1718. "from" : {
  1719. "key_code" : "f12"
  1720. },
  1721. "to" : [ {
  1722. "consumer_key_code" : "volume_increment"
  1723. } ]
  1724. } ],
  1725. "name" : "Default",
  1726. "parameters" : {
  1727. "delay_milliseconds_before_open_device" : 1000
  1728. },
  1729. "selected" : true,
  1730. "simple_modifications" : [ ],
  1731. "virtual_hid_keyboard" : {
  1732. "country_code" : 0,
  1733. "indicate_sticky_modifier_keys_state" : true,
  1734. "mouse_key_xy_scale" : 100
  1735. }
  1736. }, {
  1737. "complex_modifications" : {
  1738. "parameters" : {
  1739. "basic.simultaneous_threshold_milliseconds" : 50,
  1740. "basic.to_delayed_action_delay_milliseconds" : 500,
  1741. "basic.to_if_alone_timeout_milliseconds" : 1000,
  1742. "basic.to_if_held_down_threshold_milliseconds" : 500,
  1743. "mouse_motion_to_scroll.speed" : 100
  1744. },
  1745. "rules" : [ ]
  1746. },
  1747. "devices" : [ {
  1748. "disable_built_in_keyboard_if_exists" : false,
  1749. "fn_function_keys" : [ ],
  1750. "identifiers" : {
  1751. "is_keyboard" : true,
  1752. "is_pointing_device" : false,
  1753. "product_id" : 835,
  1754. "vendor_id" : 1452
  1755. },
  1756. "ignore" : false,
  1757. "manipulate_caps_lock_led" : true,
  1758. "simple_modifications" : [ ],
  1759. "treat_as_built_in_keyboard" : false
  1760. }, {
  1761. "disable_built_in_keyboard_if_exists" : false,
  1762. "fn_function_keys" : [ ],
  1763. "identifiers" : {
  1764. "is_keyboard" : false,
  1765. "is_pointing_device" : true,
  1766. "product_id" : 835,
  1767. "vendor_id" : 1452
  1768. },
  1769. "ignore" : true,
  1770. "manipulate_caps_lock_led" : false,
  1771. "simple_modifications" : [ ],
  1772. "treat_as_built_in_keyboard" : false
  1773. }, {
  1774. "disable_built_in_keyboard_if_exists" : false,
  1775. "fn_function_keys" : [ ],
  1776. "identifiers" : {
  1777. "is_keyboard" : false,
  1778. "is_pointing_device" : true,
  1779. "product_id" : 9,
  1780. "vendor_id" : 9992
  1781. },
  1782. "ignore" : true,
  1783. "manipulate_caps_lock_led" : false,
  1784. "simple_modifications" : [ ],
  1785. "treat_as_built_in_keyboard" : false
  1786. } ],
  1787. "fn_function_keys" : [ {
  1788. "from" : {
  1789. "key_code" : "f1"
  1790. },
  1791. "to" : [ {
  1792. "consumer_key_code" : "display_brightness_decrement"
  1793. } ]
  1794. }, {
  1795. "from" : {
  1796. "key_code" : "f2"
  1797. },
  1798. "to" : [ {
  1799. "consumer_key_code" : "display_brightness_increment"
  1800. } ]
  1801. }, {
  1802. "from" : {
  1803. "key_code" : "f3"
  1804. },
  1805. "to" : [ {
  1806. "apple_vendor_keyboard_key_code" : "mission_control"
  1807. } ]
  1808. }, {
  1809. "from" : {
  1810. "key_code" : "f4"
  1811. },
  1812. "to" : [ {
  1813. "apple_vendor_keyboard_key_code" : "spotlight"
  1814. } ]
  1815. }, {
  1816. "from" : {
  1817. "key_code" : "f5"
  1818. },
  1819. "to" : [ {
  1820. "consumer_key_code" : "dictation"
  1821. } ]
  1822. }, {
  1823. "from" : {
  1824. "key_code" : "f6"
  1825. },
  1826. "to" : [ {
  1827. "key_code" : "f6"
  1828. } ]
  1829. }, {
  1830. "from" : {
  1831. "key_code" : "f7"
  1832. },
  1833. "to" : [ {
  1834. "consumer_key_code" : "rewind"
  1835. } ]
  1836. }, {
  1837. "from" : {
  1838. "key_code" : "f8"
  1839. },
  1840. "to" : [ {
  1841. "consumer_key_code" : "play_or_pause"
  1842. } ]
  1843. }, {
  1844. "from" : {
  1845. "key_code" : "f9"
  1846. },
  1847. "to" : [ {
  1848. "consumer_key_code" : "fast_forward"
  1849. } ]
  1850. }, {
  1851. "from" : {
  1852. "key_code" : "f10"
  1853. },
  1854. "to" : [ {
  1855. "consumer_key_code" : "mute"
  1856. } ]
  1857. }, {
  1858. "from" : {
  1859. "key_code" : "f11"
  1860. },
  1861. "to" : [ {
  1862. "consumer_key_code" : "volume_decrement"
  1863. } ]
  1864. }, {
  1865. "from" : {
  1866. "key_code" : "f12"
  1867. },
  1868. "to" : [ {
  1869. "consumer_key_code" : "volume_increment"
  1870. } ]
  1871. } ],
  1872. "name" : "Ableton",
  1873. "parameters" : {
  1874. "delay_milliseconds_before_open_device" : 1000
  1875. },
  1876. "selected" : false,
  1877. "simple_modifications" : [ ],
  1878. "virtual_hid_keyboard" : {
  1879. "country_code" : 0,
  1880. "indicate_sticky_modifier_keys_state" : true,
  1881. "mouse_key_xy_scale" : 100
  1882. }
  1883. } ]
  1884. }
Add Comment
Please, Sign In to add comment