Windows on Mac : Just the main Windows Ctrl-keystroke -> Cmd-keystroke mappings. Using Karabiner.
{ | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { /* ... etc ... */ }, | |
"README": "********************************************************************************************************", | |
"README": "*" COPY JUST THE ELEMENTS OF THIS "rules" array into your profiles.complex_modifications.rules array. "*", | |
"README": "********************************************************************************************************", | |
"rules": [ | |
{ | |
"description": "Map Control+Z to Command+Z", | |
"manipulators": [ { "from": { "key_code": "z","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "z","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+X to Command+X", | |
"manipulators": [ { "from": { "key_code": "x","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "x","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+C to Command+C", | |
"manipulators": [ { "from": { "key_code": "c","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "c","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+V to Command+V", | |
"manipulators": [ { "from": { "key_code": "v","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "v","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+N to Command+N", | |
"manipulators": [ { "from": { "key_code": "n","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "n","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+S to Command+S", | |
"manipulators": [ { "from": { "key_code": "s","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "s","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+O to Command+O", | |
"manipulators": [ { "from": { "key_code": "o","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "o","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+Y to Command+Y", | |
"manipulators": [ { "from": { "key_code": "y","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "y","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Control+W to Command+W", | |
"manipulators": [ { "from": { "key_code": "w","modifiers": {"mandatory": ["control"],"optional": ["any"]}},"to": [{"key_code": "w","modifiers": ["command"]}],"type": "basic"}] | |
}, | |
{ | |
"description": "Map Option+Tab to Command+Tab", | |
"manipulators": [ { "from": { "key_code": "tab", "modifiers": { "mandatory": ["option"],"optional": ["any"]}}, "to": [{"key_code": "tab","modifiers": ["command"]}],"type": "basic"}] | |
} | |
], | |
"README": "******************************************************************************************************", | |
"README": "******************************************************************************************************", | |
/* ... etc ... */ | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Edit your
karabiner.json
file carefully at~/.config/karabiner/karabiner.json
Add these rules to your complex modifications section of your selected profile.
Get Karabiner-Elements from pqrs.org/osx/karabiner/ or see the source at github.com/tekezo/Karabiner-Elements