Skip to content

Instantly share code, notes, and snippets.

@im-noob
Last active July 24, 2025 06:46
Show Gist options
  • Save im-noob/3ef6204c5e4d632f73b6438d859450cd to your computer and use it in GitHub Desktop.
Save im-noob/3ef6204c5e4d632f73b6438d859450cd to your computer and use it in GitHub Desktop.
karabiner-mac-mapping-windows.json
{
"title": "Windows-like Key Bindings",
"rules": [
{
"description": "Use Ctrl as Command (Windows-style shortcuts)",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "left_control", "modifiers": { "optional": ["any"] } },
"to": [{ "key_code": "left_command" }]
},
{
"type": "basic",
"from": { "key_code": "right_control", "modifiers": { "optional": ["any"] } },
"to": [{ "key_code": "right_command" }]
}
]
},
{
"description": "Use Win key (Cmd) as Ctrl",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "left_command", "modifiers": { "optional": ["any"] } },
"to": [{ "key_code": "left_control" }]
},
{
"type": "basic",
"from": { "key_code": "right_command", "modifiers": { "optional": ["any"] } },
"to": [{ "key_code": "right_control" }]
}
]
},
{
"description": "Use Alt+Tab as App Switcher (Cmd+Tab)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "tab",
"modifiers": {
"mandatory": ["left_option"]
}
},
"to": [
{
"key_code": "tab",
"modifiers": ["left_command"]
}
]
}
]
},
{
"description": "Ctrl + Backspace → Delete previous word (Option + Backspace)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": ["left_control"]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": ["left_option"]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment