feat(karabiner): add karabiner config to dotfiles

This commit is contained in:
Stefan Imhoff
2022-11-12 13:59:40 +01:00
parent f503e0ab6f
commit ad21ff00bc
5 changed files with 512 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
{
"title": "Caps Lock to Escape, enable Caps Lock when held",
"rules": [
{
"description": "Caps Lock to Escape on single press, Caps Lock on press and hold.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "escape"
}
],
"to_if_held_down": [
{
"key_code": "caps_lock"
}
]
}
]
}
]
}