Created
April 12, 2023 06:37
-
-
Save dantehemerson/b91071bff67fde91ab406b55ae934f0e to your computer and use it in GitHub Desktop.
Remap app switcher to Vim-like keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "Remap app switcher to Vim-like keys", | |
| "rules": [ | |
| { | |
| "description": "Remap app switcher to Vim-like keys", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "tab", | |
| "modifiers": { | |
| "mandatory": ["left_command"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_command", "shift"] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.switcher$" | |
| ] | |
| } | |
| ], | |
| "parameters": { | |
| "basic.to_if_alone_timeout_milliseconds": 1000 | |
| }, | |
| "to_delayed_action": { | |
| "to_if_canceled": [ | |
| { | |
| "key_code": "h", | |
| "modifiers": ["left_arrow"] | |
| } | |
| ], | |
| "to_if_invoked": [ | |
| { | |
| "key_code": "l", | |
| "modifiers": ["right_arrow"] | |
| } | |
| ], | |
| "to_if_timed_out": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["left_command", "shift"] | |
| } | |
| ], | |
| "to_delayed_action_delay_milliseconds": 500 | |
| } | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment