From 9cef1f1bdbfcd6bce787f27248ed4cce10693dfb Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Mon, 22 Dec 2025 11:30:40 +0800 Subject: activate terminal with left_option + space --- karabiner/karabiner.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'karabiner') diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json index 11a68c6..28275cc 100644 --- a/karabiner/karabiner.json +++ b/karabiner/karabiner.json @@ -7,6 +7,48 @@ { "complex_modifications": { "rules": [ + { + "description": "Find my Kitty (left_option+space)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^net\\.kovidgoyal\\.kitty$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "spacebar", + "modifiers": { "mandatory": ["left_option"] } + }, + "to": [{ "shell_command": "open -a Kitty --args --start-as=fullscreen" }], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "^net\\.kovidgoyal\\.kitty$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "spacebar", + "modifiers": { "mandatory": ["left_option"] } + }, + "to": [ + { + "key_code": "h", + "modifiers": ["command"] + } + ], + "type": "basic" + } + ] + }, { "description": "Switch input method (right_option+num)", "manipulators": [ -- cgit v1.2.3