Last active
February 10, 2021 21:57
-
-
Save suntong/9f71eec46634cfdb73366319a46f2137 to your computer and use it in GitHub Desktop.
This file contains 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": "Ctrl+Y => Cmd+Shift+Y (Redo)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "y", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "z", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Home => Cmd+Left arrow (Move cursor to beginning of line)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.macports\\.X11$", | |
"^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" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Shift+Home => Cmd+Shift+Left arrow (Move cursor to beginning of line with selection)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.macports\\.X11$", | |
"^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" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"command", | |
"shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+Home, Ctrl+Shift+Home => Cmd+Up arrow, Cmd+Shift+Up arrow (Move cursor to beginning of file with and without selection)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.macports\\.X11$", | |
"^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": [ | |
"left_control" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": [ | |
"command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "End => Cmd+Right arrow (Move cursor to end of line)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.macports\\.X11$", | |
"^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" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Shift+End => Cmd+Shift+Right arrow (Move cursor to end of line with selection)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.macports\\.X11$", | |
"^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" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"command", | |
"shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+End, Ctrl+Shift+End => Cmd+down arrow, Cmd+Shift+down arrow (Move cursor to end of file with and without selection)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.macports\\.X11$", | |
"^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": [ | |
"left_control" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": [ | |
"command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+(Shift)+Right/left arrow => Alt+(Shift)+Right/left arrow (Move cursor one word with selection and without selection)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "left_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "right_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+Up/down arrow => Up/down arrow (Move cursor up/down)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "up_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "down_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+Left Click => Cmd+Left Click (select multiple items)", | |
"manipulators": [ | |
{ | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
}, | |
"pointing_button": "button1" | |
}, | |
"to": [ | |
{ | |
"modifiers": [ | |
"command" | |
], | |
"pointing_button": "button1" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Option+Left Click => middle button", | |
"manipulators": [ | |
{ | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"any" | |
] | |
}, | |
"pointing_button": "button1" | |
}, | |
"to": [ | |
{ | |
"pointing_button": "button3" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+C, Ctrl+P, Ctrl+X => Cmd+C (Copy), Cmd+v (Paste), Cmd+X (Cut)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "c", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "v", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "x", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+Z => Cmd+Z (Undo)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "z", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "z", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Ctrl+A => Cmd+A (Select all)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^com\\.microsoft\\.rdc\\.macos$", | |
"^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
"^net\\.sf\\.cord$", | |
"^com\\.thinomenon\\.RemoteDesktopConnection$", | |
"^com\\.itap-mobile\\.qmote$", | |
"^com\\.nulana\\.remotixmac$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer$", | |
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$", | |
"^com\\.teamviewer\\.TeamViewer$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.2X\\.Client\\.Mac$", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.citrix\\.XenAppViewer$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.macports\\.X11$", | |
"^com\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^io\\.alacritty$", | |
"^net\\.kovidgoyal\\.kitty$" | |
], | |
"type": "frontmost_application_unless" | |
} | |
], | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [], | |
"fn_function_keys": [ | |
{ | |
"from": { | |
"key_code": "f1" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "display_brightness_decrement" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f2" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "display_brightness_increment" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f3" | |
}, | |
"to": [ | |
{ | |
"apple_vendor_keyboard_key_code": "mission_control" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"to": [ | |
{ | |
"apple_vendor_keyboard_key_code": "spotlight" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "dictation" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"to": [ | |
{ | |
"key_code": "f6" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f7" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "rewind" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "play_or_pause" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "fast_forward" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f10" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "mute" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f11" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "volume_decrement" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f12" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "volume_increment" | |
} | |
] | |
} | |
], | |
"name": "Default profile", | |
"parameters": { | |
"delay_milliseconds_before_open_device": 1000 | |
}, | |
"selected": true, | |
"simple_modifications": [], | |
"virtual_hid_keyboard": { | |
"country_code": 0, | |
"indicate_sticky_modifier_keys_state": true, | |
"mouse_key_xy_scale": 100 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment