Last active
November 1, 2022 06:08
-
-
Save umbum/ba62fc367efa6732d23c118e83a57d68 to your computer and use it in GitHub Desktop.
karabiner-umbum
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
{ | |
"title": "Personal rules(@umbum02.WinLayout-Basic)", | |
"rules": [ | |
{ | |
"description": "[Ctrl Fn Win Alt] [command fn control option]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "fn", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fn" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "caps_lock -> control", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
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
{ | |
"title": "Personal rules(@umbum03.MacToWinAdvance)", | |
"rules": [ | |
{ | |
"description": "[Alt + Tab] <> [Ctrl + Tab]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "tab", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "tab", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "[Alt + Shift + Tab] <> [Ctrl + Shift + Tab] compatibility!", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_shift", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_shift", | |
"lazy": true | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "[command+del] <> [option+del]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.hancom\\.office\\.hwp\\.mac\\.general" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.hancom\\.office\\.hwp\\.mac\\.general" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.hancom\\.office\\.hwp\\.mac\\.general" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.hancom\\.office\\.hwp\\.mac\\.general" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "[command + ↔] <> [option + ↔]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "[command + ↕ ] <> [option + ↕ ]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "up_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "down_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "up_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "down_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "[command + ` ] <> [option + ` ]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "[command + space] <> [option + space] : Spotlight", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
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
{ | |
"title": "Personal rules(@umbum08.WinLayout-PCKeyboard)", | |
"rules": [ | |
{ | |
"description": "PC : [Ctrl Win Alt] [left_control left_command left_option]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 632, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 632, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "PC : [right_alt] -> [left_control+space] (language change)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 632, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "PC : [home / end] -> [left_gui + arrow (+shift)]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "home", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.microsoft\\.VSCode", | |
"com\\.jetbrains\\.intellij" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 632, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "end", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.microsoft\\.VSCode", | |
"com\\.jetbrains\\.intellij" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 632, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "PC : [PageUp / PageDown] -> [left_gui + arrow (+shift)]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "page_up", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.google\\.Chrome", | |
"com\\.naver\\.Whale" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "page_down", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.google\\.Chrome", | |
"com\\.naver\\.Whale" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
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
{ | |
"title": "Personal rules(@umbum31.MacLayout-AppleKeyboard)", | |
"rules": [ | |
{ | |
"description": "AP : [fn] <> [control]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"apple_vendor_top_case_key_code": "keyboard_fn", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"apple_vendor_top_case_key_code": "keyboard_fn" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "AP : [right_command] -> [left_control+space] (language change)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
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
{ | |
"title": "Personal rules(@umbum32.MacLayout-PCKeyboard)", | |
"rules": [ | |
{ | |
"description": "PC : [left_option <> left_command]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "PC : [right_alt] -> [left_control+space] (language change)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "PC : [home / end] -> [left_command + arrow (+shift)]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "home", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.microsoft\\.VSCode", | |
"com\\.jetbrains\\.intellij" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "end", | |
"modifiers": { | |
"optional": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon", | |
"com\\.microsoft\\.VSCode", | |
"com\\.jetbrains\\.intellij" | |
] | |
}, | |
{ | |
"type": "device_unless", | |
"identifiers": [ | |
{ | |
"is_built_in_keyboard": true | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
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
{ | |
"title": "Personal rules(@umbum70.RDP-AppleKeyboard)", | |
"rules": [ | |
{ | |
"description": "RDP : alt(option) <> win(command)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "RDP : Fn(fn) <> Ctrl(control)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "fn", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fn" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "RDP : right_command -> right_alt(language shift)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_command" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.", | |
"com\\.vmware\\.horizon" | |
] | |
}, | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 635, | |
"description": "Apple Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
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
{ | |
"title": "Personal rules(@umbum71.HWP)", | |
"rules": [ | |
{ | |
"description": "HWP : [command+del] -> [control+del]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.hancom\\.office\\.hwp\\.mac\\.general" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.hancom\\.office\\.hwp\\.mac\\.general" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment