Created
June 4, 2019 02:27
-
-
Save ryfjwr/ff81397acb750d372614e5afc9542f2b to your computer and use it in GitHub Desktop.
karabiner.json
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": "コマンドキーを単体で押したときに、英数・かなキーを送信する。(左コマンドキーは英数、右コマンドキーはかな) (rev 3)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"parameters": { | |
"basic.to_if_held_down_threshold_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command", | |
"lazy": true | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "japanese_eisuu" | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"parameters": { | |
"basic.to_if_held_down_threshold_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"key_code": "right_command", | |
"lazy": true | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "japanese_kana" | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "right_command" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[Emacs Mode] Control+PNBF to Up/Down/Left/Right", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
}, | |
{ | |
"name": "emacs_mode_markset", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
}, | |
{ | |
"name": "emacs_mode_markset", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
}, | |
{ | |
"name": "emacs_mode_markset", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
}, | |
{ | |
"name": "emacs_mode_markset", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[Emacs Mode] Control+M to Return", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^org\\.gnu\\.Emacs$", | |
"^org\\.gnu\\.AquamacsEmacs$", | |
"^org\\.gnu\\.Aquamacs$", | |
"^org\\.pqrs\\.unknownapp.conkeror$", | |
"^com\\.microsoft\\.rdc$", | |
"^com\\.microsoft\\.rdc\\.mac$", | |
"^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\\.apple\\.Terminal$", | |
"^com\\.googlecode\\.iterm2$", | |
"^co\\.zeit\\.hyperterm$", | |
"^co\\.zeit\\.hyper$", | |
"^org\\.vim\\.", | |
"^com\\.vmware\\.fusion$", | |
"^com\\.vmware\\.horizon$", | |
"^com\\.vmware\\.view$", | |
"^com\\.parallels\\.desktop$", | |
"^com\\.parallels\\.vm$", | |
"^com\\.parallels\\.desktop\\.console$", | |
"^org\\.virtualbox\\.app\\.VirtualBoxVM$", | |
"^com\\.vmware\\.proxyApp\\.", | |
"^com\\.parallels\\.winapp\\.", | |
"^org\\.x\\.X11$", | |
"^com\\.apple\\.x11$", | |
"^org\\.macosforge\\.xquartz\\.X11$", | |
"^org\\.macports\\.X11$" | |
], | |
"type": "frontmost_application_unless" | |
}, | |
{ | |
"name": "emacs_mode_cx", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "return_or_enter" | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "emacs_mode_markset", | |
"value": 0 | |
} | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [ | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 256, | |
"vendor_id": 2131 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"key_code": "left_command" | |
}, | |
"to": { | |
"key_code": "left_command" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "left_control" | |
}, | |
"to": { | |
"key_code": "left_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "right_command" | |
}, | |
"to": { | |
"key_code": "right_command" | |
} | |
} | |
] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 631, | |
"vendor_id": 1452 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": true, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"to": { | |
"key_code": "left_control" | |
} | |
} | |
] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 626, | |
"vendor_id": 1241 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"key_code": "left_option" | |
}, | |
"to": { | |
"key_code": "left_command" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "right_option" | |
}, | |
"to": { | |
"key_code": "right_command" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"to": { | |
"key_code": "left_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "left_command" | |
}, | |
"to": { | |
"key_code": "left_option" | |
} | |
} | |
] | |
} | |
], | |
"fn_function_keys": [ | |
{ | |
"from": { | |
"key_code": "f1" | |
}, | |
"to": { | |
"key_code": "display_brightness_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f2" | |
}, | |
"to": { | |
"key_code": "display_brightness_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f3" | |
}, | |
"to": { | |
"key_code": "mission_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"to": { | |
"key_code": "launchpad" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"to": { | |
"key_code": "illumination_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"to": { | |
"key_code": "illumination_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f7" | |
}, | |
"to": { | |
"key_code": "rewind" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"to": { | |
"key_code": "play_or_pause" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": { | |
"key_code": "fastforward" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f10" | |
}, | |
"to": { | |
"key_code": "mute" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f11" | |
}, | |
"to": { | |
"key_code": "volume_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f12" | |
}, | |
"to": { | |
"key_code": "volume_increment" | |
} | |
} | |
], | |
"name": "Default profile", | |
"selected": true, | |
"simple_modifications": [], | |
"standalone_keys": { | |
"left_command": "japanese_eisuu", | |
"right_command": "japanese_kana" | |
}, | |
"virtual_hid_keyboard": { | |
"caps_lock_delay_milliseconds": 0, | |
"country_code": 0, | |
"keyboard_type": "ansi", | |
"mouse_key_xy_scale": 100, | |
"standalone_keys_delay_milliseconds": 200 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment