Created
January 5, 2018 05:31
-
-
Save todokr/9694ba8ab440e9fffdbf1064015bfab6 to your computer and use it in GitHub Desktop.
Thinkpad用のKarabiner Elementの設定(emacsベース)
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.to_delayed_action_delay_milliseconds": 500, | |
"basic.to_if_alone_timeout_milliseconds": 1000, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
}, | |
"rules": [{ | |
"description": "middle click to ctrl + middle click", | |
"manipulators": [{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button3" | |
} | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button3", | |
"modifiers": { | |
"mandatory": ["command"] | |
} | |
}, | |
"to": [{ | |
"pointing_button": "button3" | |
}] | |
} | |
] | |
}, | |
{ | |
"description": "Emacs key bindings [C-x key strokes] (rev 1)", | |
"manipulators": [{ | |
"conditions": [{ | |
"name": "C-x", | |
"type": "variable_if", | |
"value": 1 | |
}], | |
"from": { | |
"key_code": "c", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "q", | |
"modifiers": [ | |
"left_command" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [{ | |
"name": "C-x", | |
"type": "variable_if", | |
"value": 1 | |
}], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "o", | |
"modifiers": [ | |
"left_command" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [{ | |
"name": "C-x", | |
"type": "variable_if", | |
"value": 1 | |
}], | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "s", | |
"modifiers": [ | |
"left_command" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [{ | |
"name": "C-x", | |
"type": "variable_if", | |
"value": 1 | |
}], | |
"from": { | |
"any": "key_code", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [{ | |
"set_variable": { | |
"name": "C-x", | |
"value": 1 | |
} | |
}], | |
"to_delayed_action": { | |
"to_if_canceled": [{ | |
"set_variable": { | |
"name": "C-x", | |
"value": 0 | |
} | |
}], | |
"to_if_invoked": [{ | |
"set_variable": { | |
"name": "C-x", | |
"value": 0 | |
} | |
}] | |
}, | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Emacs key bindings [control+keys] (rev 8)", | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "delete_forward" | |
}], | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "delete_or_backspace" | |
}], | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "tab" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [{ | |
"keyboard_types": [ | |
"ansi", | |
"iso" | |
], | |
"type": "keyboard_type_if" | |
}], | |
"from": { | |
"key_code": "open_bracket", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "escape" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [{ | |
"keyboard_types": [ | |
"jis" | |
], | |
"type": "keyboard_type_if" | |
}], | |
"from": { | |
"key_code": "close_bracket", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "escape" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift", | |
"option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "return_or_enter" | |
}], | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift", | |
"option" | |
] | |
} | |
}, | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift", | |
"option" | |
] | |
} | |
}, | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift", | |
"option" | |
] | |
} | |
}, | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift", | |
"option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "up_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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "page_down" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.Excel$", | |
"^com\\.microsoft\\.Powerpoint$", | |
"^com\\.microsoft\\.Word$" | |
], | |
"type": "frontmost_application_if" | |
}], | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "home" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [{ | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.Excel$", | |
"^com\\.microsoft\\.Powerpoint$", | |
"^com\\.microsoft\\.Word$" | |
], | |
"type": "frontmost_application_if" | |
}], | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "end" | |
}], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Emacs key bindings [option+keys] (rev 4)", | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"mandatory": [ | |
"option" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "page_up" | |
}], | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"mandatory": [ | |
"option" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
}], | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"mandatory": [ | |
"option" | |
], | |
"optional": [ | |
"caps_lock", | |
"shift" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
}], | |
"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$", | |
"^io\\.alacritty$", | |
"^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$", | |
"^com\\.microsoft\\.VSCode$" | |
], | |
"type": "frontmost_application_unless" | |
}], | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"mandatory": [ | |
"option" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "delete_forward", | |
"modifiers": [ | |
"left_option" | |
] | |
}], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "コマンドキーを単体で押したときに、英数・かなキーを送信する。(左コマンドキーは英数、右コマンドキーはかな) (rev 2)", | |
"manipulators": [{ | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "left_command", | |
"lazy": true | |
}], | |
"to_if_alone": [{ | |
"key_code": "japanese_eisuu" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "right_command", | |
"lazy": true | |
}], | |
"to_if_alone": [{ | |
"key_code": "japanese_kana" | |
}], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 24647, | |
"vendor_id": 6127 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [{ | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"to": { | |
"key_code": "left_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "left_command" | |
}, | |
"to": { | |
"key_code": "left_option" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "left_control" | |
}, | |
"to": { | |
"key_code": "caps_lock" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "left_option" | |
}, | |
"to": { | |
"key_code": "left_command" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "right_option" | |
}, | |
"to": { | |
"key_code": "right_command" | |
} | |
} | |
] | |
}], | |
"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": { | |
"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": { | |
"consumer_key_code": "rewind" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"to": { | |
"consumer_key_code": "play_or_pause" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": { | |
"consumer_key_code": "fastforward" | |
} | |
}, | |
{ | |
"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", | |
"selected": true, | |
"simple_modifications": [], | |
"virtual_hid_keyboard": { | |
"caps_lock_delay_milliseconds": 0, | |
"keyboard_type": "ansi" | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment