working on hud setup
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"key_code": "vk_none"
|
"key_code": "vk_none"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitten quick-access-terminal >/tmp/kitty-quick-access.log 2>&1 &"
|
"shell_command": "/Applications/kitty.app/Contents/kitty-quick-access.app/Contents/MacOS/kitty-quick-access --instance-group quick-access >/tmp/kitty-quick-access.log 2>&1 < /dev/null &"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{
|
||||||
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitten quick-access-terminal --detach"
|
"shell_command": "/Applications/kitty.app/Contents/kitty-quick-access.app/Contents/MacOS/kitty-quick-access --instance-group quick-access >/tmp/kitty-quick-access.log 2>&1 < /dev/null &"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,118 @@
|
|||||||
{
|
{
|
||||||
"complex_modifications": {
|
"complex_modifications": {
|
||||||
"rules": [
|
"rules": [
|
||||||
|
{
|
||||||
|
"description": "codex: map cmd+v and shift+enter",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^com\\.openai\\.codex$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_if"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "v",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["command"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "v",
|
||||||
|
"modifiers": ["control"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^com\\.openai\\.codex$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_if"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "return_or_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["shift"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "j",
|
||||||
|
"modifiers": ["control"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "kitty: map cmd+enter to new OS window globally",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^net\\.kovidgoyal\\.kitty$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_unless"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "return_or_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["command"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitty --single-instance"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "kitty: map ctrl+enter to quick access terminal globally",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^net\\.kovidgoyal\\.kitty$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_unless"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "return_or_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "vk_none"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitten quick-access-terminal --instance-group quick-access >/tmp/kitty-quick-access.log 2>&1 < /dev/null &"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "kitty: map cmd+left/right to ctrl+left/right",
|
"description": "kitty: map cmd+left/right to ctrl+left/right",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
|
|||||||
@@ -9,9 +9,11 @@ enable_audio_bell 0
|
|||||||
hide_window_decorations titlebar-only
|
hide_window_decorations titlebar-only
|
||||||
macos_show_window_title_in none
|
macos_show_window_title_in none
|
||||||
macos_titlebar_color background
|
macos_titlebar_color background
|
||||||
|
copy_on_select clipboard
|
||||||
|
term xterm-256color
|
||||||
map ctrl+left previous_tab
|
map ctrl+left previous_tab
|
||||||
map ctrl+right next_tab
|
map ctrl+right next_tab
|
||||||
window_padding_width 10
|
window_padding_width 10
|
||||||
|
|
||||||
|
map cmd+shift+r load_config_file
|
||||||
map cmd+enter new_os_window
|
map cmd+enter new_os_window
|
||||||
map ctrl+enter kitten quick-access-terminal
|
|
||||||
|
|||||||
1
kitty/macos-launch-services-cmdline
Normal file
1
kitty/macos-launch-services-cmdline
Normal file
@@ -0,0 +1 @@
|
|||||||
|
--single-instance
|
||||||
Reference in New Issue
Block a user