Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Karabiner Elements][macOS] Windows-like word movement/selection/deletion
{
"title": "[macOS] Windows-like word movement/selection/deletion",
"rules": [
{
"description": "Ctrl + Arrow Keys to Option + Arrow Keys",
"manipulators": [
{
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"option"
]
}
],
"type": "basic"
}
]
},
{
"description": "Ctrl + Shift + Arrow Keys to Option + Shift + Arrow Keys",
"manipulators": [
{
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"option",
"shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"option",
"shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"option",
"shift"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"option",
"shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "Ctrl + BS/Del Keys to Option + BS/Del Keys",
"manipulators": [
{
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"option"
]
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment