Merge branch 'master' of git.24unix.net:tracer/dotfiles
This commit is contained in:
@@ -0,0 +1,196 @@
|
|||||||
|
{
|
||||||
|
"profiles": [
|
||||||
|
{
|
||||||
|
"complex_modifications": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"description": "kitty: map shift+enter for codex cli",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^net\\.kovidgoyal\\.kitty(-quick-access)?$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_if"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "return_or_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["shift"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "j",
|
||||||
|
"modifiers": ["control"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^net\\.kovidgoyal\\.kitty(-quick-access)?$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_if"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "return_or_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["option"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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(-quick-access)?$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_unless"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "return_or_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["command"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "vk_none"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitty --single-instance --directory ~"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "kitty: map ctrl+enter to quick access terminal globally",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "return_or_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "vk_none"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shell_command": "$HOME/.config/kitty/launch-quick-access-terminal.sh >/tmp/kitty-quick-access.log 2>&1 < /dev/null &"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "keypad_enter",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["control"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "vk_none"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shell_command": "$HOME/.config/kitty/launch-quick-access-terminal.sh >/tmp/kitty-quick-access.log 2>&1 < /dev/null &"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "kitty: map cmd+left/right to ctrl+left/right",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^net\\.kovidgoyal\\.kitty(-quick-access)?$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_if"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "left_arrow",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["command"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "left_arrow",
|
||||||
|
"modifiers": ["control"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"bundle_identifiers": [
|
||||||
|
"^net\\.kovidgoyal\\.kitty(-quick-access)?$"
|
||||||
|
],
|
||||||
|
"type": "frontmost_application_if"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "right_arrow",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["command"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "right_arrow",
|
||||||
|
"modifiers": ["control"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"fn_function_keys": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f6" },
|
||||||
|
"to": [{ "key_code": "f6" }]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Default profile",
|
||||||
|
"selected": true,
|
||||||
|
"virtual_hid_keyboard": {
|
||||||
|
"country_code": 0,
|
||||||
|
"keyboard_type_v2": "ansi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+11
-30
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"global": { "show_in_menu_bar": false },
|
||||||
"profiles": [
|
"profiles": [
|
||||||
{
|
{
|
||||||
"complex_modifications": {
|
"complex_modifications": {
|
||||||
@@ -41,9 +42,7 @@
|
|||||||
],
|
],
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "return_or_enter",
|
"key_code": "return_or_enter",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["option"] }
|
||||||
"mandatory": ["option"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{
|
||||||
@@ -69,17 +68,11 @@
|
|||||||
],
|
],
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "return_or_enter",
|
"key_code": "return_or_enter",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["command"] }
|
||||||
"mandatory": ["command"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{ "key_code": "vk_none" },
|
||||||
"key_code": "vk_none"
|
{ "shell_command": "/Applications/kitty.app/Contents/MacOS/kitty --single-instance --directory ~" }
|
||||||
},
|
|
||||||
{
|
|
||||||
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitty --single-instance --directory ~"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
@@ -91,34 +84,22 @@
|
|||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "return_or_enter",
|
"key_code": "return_or_enter",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["control"] }
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{ "key_code": "vk_none" },
|
||||||
"key_code": "vk_none"
|
{ "shell_command": "$HOME/.config/kitty/launch-quick-access-terminal.sh >/tmp/kitty-quick-access.log 2>&1 < /dev/null &" }
|
||||||
},
|
|
||||||
{
|
|
||||||
"shell_command": "$HOME/.config/kitty/launch-quick-access-terminal.sh >/tmp/kitty-quick-access.log 2>&1 < /dev/null &"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "keypad_enter",
|
"key_code": "keypad_enter",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["control"] }
|
||||||
"mandatory": ["control"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{ "key_code": "vk_none" },
|
||||||
"key_code": "vk_none"
|
{ "shell_command": "$HOME/.config/kitty/launch-quick-access-terminal.sh >/tmp/kitty-quick-access.log 2>&1 < /dev/null &" }
|
||||||
},
|
|
||||||
{
|
|
||||||
"shell_command": "$HOME/.config/kitty/launch-quick-access-terminal.sh >/tmp/kitty-quick-access.log 2>&1 < /dev/null &"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user