From a4d78d9143d1a43f47baedbca573704f36d8555b Mon Sep 17 00:00:00 2001 From: Nicholas Novak <34256932+NickyBoy89@users.noreply.github.com> Date: Mon, 23 Oct 2023 19:32:02 -0700 Subject: [PATCH] fix: Added a new keybind and exception for Ctrl+l in the terminal --- .../browser_keybinds.json | 32 +++++++++++++++++++ .../normal_keybinds.json | 16 ---------- 2 files changed, 32 insertions(+), 16 deletions(-) create mode 100644 karabiner/.config/karabiner/assets/complex_modifications/browser_keybinds.json diff --git a/karabiner/.config/karabiner/assets/complex_modifications/browser_keybinds.json b/karabiner/.config/karabiner/assets/complex_modifications/browser_keybinds.json new file mode 100644 index 0000000..27c365b --- /dev/null +++ b/karabiner/.config/karabiner/assets/complex_modifications/browser_keybinds.json @@ -0,0 +1,32 @@ +{ + "title": "Remapped Browser Keybinds", + "maintainers": ["nnovak"], + "rules": [ + { + "description": "Remap Control+l to Command+l unless in the terminal", + "manipulators": [ + { + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": ["^net\\.kovidgoyal\\.kitty$"] + } + ], + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["control"] + } + }, + "to": [ + { + "key_code": "l", + "modifiers": ["command"] + } + ], + "type": "basic" + } + ] + } + ] +} diff --git a/karabiner/.config/karabiner/assets/complex_modifications/normal_keybinds.json b/karabiner/.config/karabiner/assets/complex_modifications/normal_keybinds.json index 84ce281..dea42e6 100644 --- a/karabiner/.config/karabiner/assets/complex_modifications/normal_keybinds.json +++ b/karabiner/.config/karabiner/assets/complex_modifications/normal_keybinds.json @@ -65,22 +65,6 @@ ], "type": "basic" }, - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": ["control"] - } - }, - "to": [ - { - "key_code": "l", - "modifiers": ["left_command"] - } - ], - "type": "basic" - }, - { "from": { "key_code": "t",