updated kitty
This commit is contained in:
@@ -4,32 +4,8 @@
|
||||
"complex_modifications": {
|
||||
"rules": [
|
||||
{
|
||||
"description": "kitty: map cmd+v and shift+enter for codex cli",
|
||||
"description": "kitty: map shift+enter for codex cli",
|
||||
"manipulators": [
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"bundle_identifiers": [
|
||||
"^net\\.kovidgoyal\\.kitty(-quick-access)?$"
|
||||
],
|
||||
"type": "frontmost_application_if"
|
||||
}
|
||||
],
|
||||
"from": {
|
||||
"key_code": "v",
|
||||
"modifiers": {
|
||||
"mandatory": ["command"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "v",
|
||||
"modifiers": ["control"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
@@ -66,8 +42,7 @@
|
||||
"from": {
|
||||
"key_code": "return_or_enter",
|
||||
"modifiers": {
|
||||
"mandatory": ["option"],
|
||||
"optional": ["any"]
|
||||
"mandatory": ["option"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
@@ -87,7 +62,7 @@
|
||||
"conditions": [
|
||||
{
|
||||
"bundle_identifiers": [
|
||||
"^net\\.kovidgoyal\\.kitty$"
|
||||
"^net\\.kovidgoyal\\.kitty(-quick-access)?$"
|
||||
],
|
||||
"type": "frontmost_application_unless"
|
||||
}
|
||||
@@ -103,7 +78,7 @@
|
||||
"key_code": "vk_none"
|
||||
},
|
||||
{
|
||||
"shell_command": "/usr/bin/osascript -e 'tell application \"kitty\" to activate' -e 'tell application \"System Events\" to keystroke return using command down'"
|
||||
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitty --single-instance --directory ~"
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
|
||||
Reference in New Issue
Block a user