Update Karabiner mappings for Codex CLI in kitty

This commit is contained in:
2026-04-09 21:42:14 +02:00
parent 4c66aee045
commit 9641ce051e

View File

@@ -4,13 +4,13 @@
"complex_modifications": { "complex_modifications": {
"rules": [ "rules": [
{ {
"description": "codex: map cmd+v and shift+enter", "description": "kitty: map cmd+v and shift+enter for codex cli",
"manipulators": [ "manipulators": [
{ {
"conditions": [ "conditions": [
{ {
"bundle_identifiers": [ "bundle_identifiers": [
"^com\\.openai\\.codex$" "^net\\.kovidgoyal\\.kitty(-quick-access)?$"
], ],
"type": "frontmost_application_if" "type": "frontmost_application_if"
} }
@@ -34,7 +34,7 @@
"conditions": [ "conditions": [
{ {
"bundle_identifiers": [ "bundle_identifiers": [
"^com\\.openai\\.codex$" "^net\\.kovidgoyal\\.kitty(-quick-access)?$"
], ],
"type": "frontmost_application_if" "type": "frontmost_application_if"
} }
@@ -53,6 +53,30 @@
} }
], ],
"type": "basic" "type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^net\\.kovidgoyal\\.kitty(-quick-access)?$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": ["option"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "j",
"modifiers": ["control"]
}
],
"type": "basic"
} }
] ]
}, },