Add Karabiner config to dotfiles

This commit is contained in:
2026-03-29 16:51:16 +02:00
parent 8b3c1acbd3
commit 4a4fc5a731
5 changed files with 57 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
{
"type": "basic",
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": ["control"],
"optional": []
}
},
"to": [
{
"key_code": "vk_none"
},
{
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitten quick-access-terminal >/tmp/kitty-quick-access.log 2>&1 &"
}
]
}

View File

@@ -0,0 +1,25 @@
{
"title": "Kitty quick access terminal",
"rules": [
{
"description": "Ctrl+Enter toggles kitty quick-access-terminal",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": ["control"],
"optional": ["any"]
}
},
"to": [
{
"shell_command": "/Applications/kitty.app/Contents/MacOS/kitten quick-access-terminal --detach"
}
]
}
]
}
]
}

9
karabiner/karabiner.json Normal file
View File

@@ -0,0 +1,9 @@
{
"profiles": [
{
"name": "Default profile",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
}
]
}