change: Fixed the arrow keys by word shortcut mapping

This commit is contained in:
Nicholas Novak
2024-06-03 21:41:29 -07:00
parent 44f56933bf
commit 08969aa865
@@ -53,6 +53,53 @@
"type": "basic" "type": "basic"
} }
] ]
},
{
"description": "Remap Alt+Left/Right unless in terminal",
"manipulators": [
{
"conditions": [
{
"type": "frontmost_application_unless",
"bundle_identifiers": ["^net\\.kovidgoyal\\.kitty$"]
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": ["control"]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": ["option"]
}
],
"type": "basic"
},
{
"conditions": [
{
"type": "frontmost_application_unless",
"bundle_identifiers": ["^net\\.kovidgoyal\\.kitty$"]
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": ["control"]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": ["option"]
}
],
"type": "basic"
}
]
} }
] ]
} }