diff options
| author | Zhineng Li <[email protected]> | 2025-12-22 11:30:40 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2025-12-22 11:30:40 +0800 |
| commit | 9cef1f1bdbfcd6bce787f27248ed4cce10693dfb (patch) | |
| tree | 1108dffbb5277eafdcb2cecb99fd128b1e0964d6 /karabiner/karabiner.json | |
| parent | 741339d9228704dbd4edfe547903e784816312d7 (diff) | |
activate terminal with left_option + space
Diffstat (limited to 'karabiner/karabiner.json')
| -rw-r--r-- | karabiner/karabiner.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json index 11a68c6..28275cc 100644 --- a/karabiner/karabiner.json +++ b/karabiner/karabiner.json @@ -8,6 +8,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": [ { |
