Windows shortcut support for macOS Sierra
Swapping Command ⌘ and Control
NOTE: If doing the other keys, do this last. You'll have to do it again on the virtual keyboard otherwise.
- Go into System Preferences.
- Go into Keyboard.
- Click on "Modifier Keys…"
- Click on the menu adjacent to "Command (⌘) Key".
- This menu should show up. Just remap Control to Command ⌘, and vice versa.
Non- Command ⌘ / Control Keys
Quite frankly, a large number of apps already support the Windows keybindings, and Mission Control makes Control+Arrow a small nightmare. But, if you must, this is how you do it.
In Karabiner-Elements, as shown by Clemsam, these combos are what you should map various keys to:
Home (Pos1): fn+control+←
End: fn+control+→
Control+←: Option+←
Control+→: Option+→
The JSON to do that is the following:
{
"title": "Most Windows Behavior.",
"rules": [
{
"description": "Change Home key to Windows behavior.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "home",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow", "modifiers": ["fn", "left_control"]
}
]
}
]
},
{
"description": "Change End key to Windows behavior",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "end",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow", "modifiers": ["fn", "left_control"]
}
]
}
]
},
{
"description": "Change Control+Left Arrow to Windows behavior.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": ["left_control"],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["left_alt"]
}
]
}
]
},
{
"description": "Change Control+Right Arrow key to Windows behavior.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow", "modifiers": ["left_alt", "right_arrow"]
}
]
}
]
}
]
}