Last active
December 18, 2019 18:03
-
-
Save hsimah/d9fbd06aa75dce45617f186842e32b00 to your computer and use it in GitHub Desktop.
[WIP] OS X keybindings - system and vs code
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
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 50, | |
| "basic.to_delayed_action_delay_milliseconds": 500, | |
| "basic.to_if_alone_timeout_milliseconds": 1000, | |
| "basic.to_if_held_down_threshold_milliseconds": 500, | |
| "mouse_motion_to_scroll.speed": 100 | |
| }, | |
| "rules": [ | |
| { | |
| "description": "Lock", | |
| "manipulators": [ | |
| { | |
| "conditions": [], | |
| "from": { | |
| "key_code": "pause", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "q", | |
| "modifiers": [ | |
| "control", | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Home", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "home", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Home", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "home", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Shift+Home", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "home", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Shift+Home", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "home", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control", | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "End", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "end", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+End", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "end", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Shift+End", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "end", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Shift+End", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "end", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control", | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow", | |
| "modifiers": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Backspace", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": [ | |
| "option" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Delete", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "delete_forward", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_forward", | |
| "modifiers": [ | |
| "option" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+A", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "a", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "a", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+B", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "b", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+C", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "c", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Cmd+C", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "c", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+F", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+I", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "i", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+K", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "k", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+L", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.google\\.Chrome$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "l", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+N", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "n", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Shift+N", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control", | |
| "shift" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "n", | |
| "modifiers": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+O", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "o", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "o", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+P", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "p", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+R", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "r", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "r", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+S", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "s", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "s", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+T", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "t", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "t", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+U", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "u", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+V", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "v", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "v", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Shift+V [Only Terminal]", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "v", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control", | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "v", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+W", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "w", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "w", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+X", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "x", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "x", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Y", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "y", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "y", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Z", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "z", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "z", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+/", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "slash", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "slash", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "F4 (Alt)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "f4", | |
| "modifiers": { | |
| "mandatory": [ | |
| "option" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "q", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+F4 [Only Chrome]", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.google\\.Chrome$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "f4", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "w", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Left Arrow", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "option" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Shift+Left Arrow", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control", | |
| "shift" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "option", | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Right Arrow", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "option" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Right Arrow (CtrlShift)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control", | |
| "shift" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "option", | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Up Arrow (Cmd)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "up_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Down Arrow (Cmd)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "down_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "down_arrow", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Right Arrow (Cmd)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Left Arrow (Cmd)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Up Arrow", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "up_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": [] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Down Arrow", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Terminal$", | |
| "^com\\.googlecode\\.iterm2$", | |
| "^co\\.zeit\\.hyper$", | |
| "^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
| "^com\\.microsoft\\.rdc\\.macos$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "up_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "up_arrow", | |
| "modifiers": [] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Alt+Left Arrow", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.google\\.Chrome$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "option" | |
| ], | |
| "optional": [] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "open_bracket", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Alt+Right Arrow", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.google\\.Chrome$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "close_bracket", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Option Tab", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "tab", | |
| "modifiers": { | |
| "mandatory": [ | |
| "option" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Ctrl+Enter", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "return_or_enter", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Application", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "application", | |
| "modifiers": { | |
| "mandatory": [], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_command", | |
| "modifiers": [] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [ | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [ | |
| { | |
| "from": { | |
| "key_code": "f1" | |
| }, | |
| "to": { | |
| "consumer_key_code": "mute" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f2" | |
| }, | |
| "to": { | |
| "consumer_key_code": "volume_decrement" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f3" | |
| }, | |
| "to": { | |
| "consumer_key_code": "volume_increment" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f4" | |
| }, | |
| "to": { | |
| "key_code": "f4" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f5" | |
| }, | |
| "to": { | |
| "consumer_key_code": "rewind" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f6" | |
| }, | |
| "to": { | |
| "consumer_key_code": "play_or_pause" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f7" | |
| }, | |
| "to": { | |
| "consumer_key_code": "fastforward" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f8" | |
| }, | |
| "to": { | |
| "key_code": "f8" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f9" | |
| }, | |
| "to": { | |
| "key_code": "f9" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f10" | |
| }, | |
| "to": { | |
| "key_code": "f10" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f11" | |
| }, | |
| "to": { | |
| "key_code": "f11" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f12" | |
| }, | |
| "to": { | |
| "key_code": "f12" | |
| } | |
| } | |
| ], | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 521, | |
| "vendor_id": 5426 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": false, | |
| "simple_modifications": [] | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 98, | |
| "vendor_id": 5426 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": false, | |
| "simple_modifications": [] | |
| } | |
| ], | |
| "fn_function_keys": [ | |
| { | |
| "from": { | |
| "key_code": "f1" | |
| }, | |
| "to": { | |
| "consumer_key_code": "mute" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f2" | |
| }, | |
| "to": { | |
| "consumer_key_code": "volume_decrement" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f3" | |
| }, | |
| "to": { | |
| "key_code": "f3" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f4" | |
| }, | |
| "to": { | |
| "key_code": "f4" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f5" | |
| }, | |
| "to": { | |
| "key_code": "f5" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f6" | |
| }, | |
| "to": { | |
| "key_code": "f6" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f7" | |
| }, | |
| "to": { | |
| "key_code": "f7" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f8" | |
| }, | |
| "to": { | |
| "key_code": "f8" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f9" | |
| }, | |
| "to": { | |
| "key_code": "f9" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f10" | |
| }, | |
| "to": { | |
| "key_code": "f10" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f11" | |
| }, | |
| "to": { | |
| "key_code": "f11" | |
| } | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f12" | |
| }, | |
| "to": { | |
| "key_code": "f12" | |
| } | |
| } | |
| ], | |
| "name": "hsimah", | |
| "parameters": { | |
| "delay_milliseconds_before_open_device": 1000 | |
| }, | |
| "selected": true, | |
| "simple_modifications": [], | |
| "virtual_hid_keyboard": { | |
| "country_code": 0, | |
| "mouse_key_xy_scale": 100 | |
| } | |
| } | |
| ] | |
| } |
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
| // Place your key bindings in this file to override the defaults | |
| [ | |
| { | |
| "key": "ctrl+k", | |
| "command": "-deleteAllRight", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+cmd+k", | |
| "command": "-editor.action.deleteLines", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+h", | |
| "command": "-deleteLeft", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "alt+cmd+backspace", | |
| "command": "-deleteFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
| }, | |
| { | |
| "key": "cmd+backspace", | |
| "command": "-deleteFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus" | |
| }, | |
| { | |
| "key": "ctrl+backspace", | |
| "command": "-deleteLeft", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+backspace", | |
| "command": "-deleteLeft", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+d", | |
| "command": "-deleteRight", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+delete", | |
| "command": "-deleteRight", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+backspace", | |
| "command": "-deleteAllLeft", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+delete", | |
| "command": "-deleteAllRight", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+d", | |
| "command": "editor.action.addSelectionToNextFindMatch", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "cmd+d", | |
| "command": "-editor.action.addSelectionToNextFindMatch", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+l", | |
| "command": "editor.action.selectHighlights", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "shift+cmd+l", | |
| "command": "-editor.action.selectHighlights", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+`", | |
| "command": "-workbench.action.terminal.new" | |
| }, | |
| { | |
| "key": "ctrl+shift+`", | |
| "command": "workbench.action.terminal.newInActiveWorkspace" | |
| }, | |
| { | |
| "key": "alt+cmd+k", | |
| "command": "workbench.action.openGlobalKeybindings" | |
| }, | |
| { | |
| "key": "cmd+k cmd+s", | |
| "command": "-workbench.action.openGlobalKeybindings" | |
| }, | |
| { | |
| "key": "cmd+k cmd+w", | |
| "command": "workbench.action.closeAllEditors" | |
| }, | |
| { | |
| "key": "cmd+k cmd+w", | |
| "command": "-workbench.action.closeAllEditors" | |
| }, | |
| { | |
| "key": "ctrl+e", | |
| "command": "-cursorLineEnd", | |
| "when": "textInputFocus" | |
| }, | |
| { | |
| "key": "ctrl+e", | |
| "command": "workbench.view.explorer" | |
| }, | |
| { | |
| "key": "shift+cmd+e", | |
| "command": "-workbench.view.explorer" | |
| }, | |
| { | |
| "key": "cmd+k cmd+u", | |
| "command": "editor.action.removeCommentLine", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+k cmd+u", | |
| "command": "-editor.action.removeCommentLine", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+k cmd+c", | |
| "command": "editor.action.addCommentLine", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+k cmd+c", | |
| "command": "-editor.action.addCommentLine", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+alt+left", | |
| "command": "workbench.action.moveEditorToLeftGroup" | |
| }, | |
| { | |
| "key": "ctrl+alt+right", | |
| "command": "workbench.action.moveEditorToRightGroup" | |
| }, | |
| { | |
| "key": "ctrl+=", | |
| "command": "workbench.action.navigateForward" | |
| }, | |
| { | |
| "key": "ctrl+shift+-", | |
| "command": "-workbench.action.navigateForward" | |
| }, | |
| { | |
| "key": "cmd+y", | |
| "command": "redo", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+cmd+z", | |
| "command": "-redo", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+k s", | |
| "command": "workbench.action.files.saveAll" | |
| }, | |
| { | |
| "key": "alt+cmd+s", | |
| "command": "-workbench.action.files.saveAll" | |
| }, | |
| { | |
| "key": "cmd+k w", | |
| "command": "workbench.action.closeEditorsInGroup" | |
| }, | |
| { | |
| "key": "cmd+k w", | |
| "command": "-workbench.action.closeEditorsInGroup" | |
| }, | |
| { | |
| "key": "ctrl+cmd+1", | |
| "command": "-workbench.action.moveEditorToFirstGroup" | |
| }, | |
| { | |
| "key": "ctrl+cmd+9", | |
| "command": "-workbench.action.moveEditorToLastGroup" | |
| }, | |
| { | |
| "key": "ctrl+shift+alt+right", | |
| "command": "-cursorWordPartRightSelect", | |
| "when": "textInputFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+alt+right", | |
| "command": "workbench.action.moveEditorToNextGroup" | |
| }, | |
| { | |
| "key": "ctrl+cmd+right", | |
| "command": "-workbench.action.moveEditorToNextGroup" | |
| }, | |
| { | |
| "key": "ctrl+shift+alt+left", | |
| "command": "workbench.action.moveEditorToPreviousGroup" | |
| }, | |
| { | |
| "key": "ctrl+cmd+left", | |
| "command": "-workbench.action.moveEditorToPreviousGroup" | |
| }, | |
| { | |
| "key": "ctrl+shift+alt+left", | |
| "command": "-cursorWordPartLeftSelect", | |
| "when": "textInputFocus" | |
| }, | |
| { | |
| "key": "cmd+k m", | |
| "command": "workbench.action.editor.changeLanguageMode" | |
| }, | |
| { | |
| "key": "cmd+k m", | |
| "command": "-workbench.action.editor.changeLanguageMode" | |
| }, | |
| { | |
| "key": "cmd+k cmd+k", | |
| "command": "workbench.action.keepEditor" | |
| }, | |
| { | |
| "key": "cmd+k enter", | |
| "command": "-workbench.action.keepEditor" | |
| }, | |
| { | |
| "key": "alt+cmd+m", | |
| "command": "fb.on-demand.resumeSavedWork" | |
| }, | |
| { | |
| "key": "cmd+k cmd+r", | |
| "command": "editor.action.rename", | |
| "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "f2", | |
| "command": "-editor.action.rename", | |
| "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+m ctrl+m", | |
| "command": "fb.on-demand.reserveOnDemandServer" | |
| }, | |
| { | |
| "key": "ctrl+alt+n", | |
| "command": "fb.on-demand.reserveOnDemand.ondemand_www" | |
| }, | |
| { | |
| "key": "ctrl+shift+h", | |
| "command": "workbench.action.replaceInFiles" | |
| }, | |
| { | |
| "key": "shift+cmd+h", | |
| "command": "-workbench.action.replaceInFiles" | |
| }, | |
| { | |
| "key": "ctrl+alt+g", | |
| "command": "nuclide-biggrep:open-pane" | |
| }, | |
| { | |
| "key": "shift+alt+cmd+g", | |
| "command": "-nuclide-biggrep:open-pane" | |
| }, | |
| { | |
| "key": "alt+cmd+g", | |
| "command": "-nuclide-biggrep:quick-search" | |
| }, | |
| { | |
| "key": "cmd+o", | |
| "command": "-workbench.action.files.openFileFolder" | |
| }, | |
| { | |
| "key": "cmd+o", | |
| "command": "nuclide-biggrep:quick-search" | |
| }, | |
| { | |
| "key": "alt+cmd+i", | |
| "command": "-workbench.action.toggleDevTools", | |
| "when": "isDevelopment" | |
| }, | |
| { | |
| "key": "alt+cmd+i", | |
| "command": "fb-hg.toggle-interactive-smartlog" | |
| }, | |
| { | |
| "key": "shift+cmd+i", | |
| "command": "-fb-hg.toggle-interactive-smartlog" | |
| }, | |
| { | |
| "key": "ctrl+m b", | |
| "command": "fb.on-demand.openInBrowser" | |
| }, | |
| { | |
| "key": "ctrl+m h", | |
| "command": "fb.on-demand.copyHostname" | |
| }, | |
| { | |
| "key": "ctrl+j", | |
| "command": "-editor.action.joinLines", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+k s", | |
| "command": "-workbench.action.files.saveWithoutFormatting" | |
| }, | |
| { | |
| "key": "cmd+k cmd+m", | |
| "command": "-workbench.extensions.action.showRecommendedKeymapExtensions" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment