command
and option
should be inverted as a simple modification in Karabiner
Last active
May 12, 2022 11:35
-
-
Save innocenzi/0c53d9cb2ff0615c4cb2dd36bca38371 to your computer and use it in GitHub Desktop.
Karabiner elements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "ROCCAT Vulcan", | |
"rules": [ | |
{ | |
"description": "[Insert] to [Print screen]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "insert", | |
"modifiers": { | |
"optional": ["shift", "command", "control", "option"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "print_screen" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "print_screen", | |
"modifiers": { | |
"optional": ["shift", "command", "control", "option"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "insert" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[CAPS LOCK] to [Command + Control + Option]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": ["any"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_shift", | |
"modifiers": ["left_command", "left_control", "left_option"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[Alt + E] makes a E and an acute accent", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": ["right_option", "right_shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "e", | |
"modifiers": ["right_option"] | |
}, | |
{ | |
"key_code": "e", | |
"modifiers": ["right_shift"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": ["right_option"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "e", | |
"modifiers": ["right_option"] | |
}, | |
{ | |
"key_code": "e" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Windows-like behavior", | |
"rules": [ | |
{ | |
"description": "[Command + Arrow keys] to [Option + Arrow keys]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_arrow", | |
"modifiers": { | |
"mandatory": ["command"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": ["option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_arrow", | |
"modifiers": { | |
"mandatory": ["command"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": ["option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "left_arrow", | |
"modifiers": { | |
"mandatory": ["option"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": ["command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_arrow", | |
"modifiers": { | |
"mandatory": ["option"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": ["command"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[Command + Backspace] to [Option + Backspace]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": ["command"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": ["option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": ["command"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": ["option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": ["option"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": ["command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": ["option"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": ["command"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[Command + Delete] to [Option + Delete]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"mandatory": ["command"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": ["option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"mandatory": ["command"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": ["option"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"mandatory": ["option"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": ["command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"mandatory": ["option"], | |
"optional": ["shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": ["command"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[Home] to [Command + Left arrow]", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": ["^com\\.microsoft\\.VSCode$"] | |
} | |
], | |
"from": { | |
"key_code": "home", | |
"modifiers": { | |
"optional": ["any"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": ["left_command"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "[End] to [Command + Right arrow]", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": ["^com\\.microsoft\\.VSCode$"] | |
} | |
], | |
"from": { | |
"key_code": "end", | |
"modifiers": { | |
"optional": ["any"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": ["left_command"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Make [ç] with [Option + <]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"mandatory": ["right_option"], | |
"optional": ["right_shift"] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "c", | |
"modifiers": ["right_option"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment