diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json index 29de199..39568f5 100644 --- a/karabiner/karabiner.json +++ b/karabiner/karabiner.json @@ -4,13 +4,13 @@ "complex_modifications": { "rules": [ { - "description": "codex: map cmd+v and shift+enter", + "description": "kitty: map cmd+v and shift+enter for codex cli", "manipulators": [ { "conditions": [ { "bundle_identifiers": [ - "^com\\.openai\\.codex$" + "^net\\.kovidgoyal\\.kitty(-quick-access)?$" ], "type": "frontmost_application_if" } @@ -34,7 +34,7 @@ "conditions": [ { "bundle_identifiers": [ - "^com\\.openai\\.codex$" + "^net\\.kovidgoyal\\.kitty(-quick-access)?$" ], "type": "frontmost_application_if" } @@ -53,6 +53,30 @@ } ], "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" } ] },