From 9641ce051e9baa4f51f5bc2d45205b864c23b373 Mon Sep 17 00:00:00 2001 From: tracer Date: Thu, 9 Apr 2026 21:42:14 +0200 Subject: [PATCH] Update Karabiner mappings for Codex CLI in kitty --- karabiner/karabiner.json | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) 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" } ] },