fix: Added a new keybind and exception for Ctrl+l in the terminal

This commit is contained in:
Nicholas Novak
2023-10-23 19:32:02 -07:00
parent 4c96ee1a34
commit a4d78d9143
2 changed files with 32 additions and 16 deletions
@@ -0,0 +1,32 @@
{
"title": "Remapped Browser Keybinds",
"maintainers": ["nnovak"],
"rules": [
{
"description": "Remap Control+l to Command+l unless in the terminal",
"manipulators": [
{
"conditions": [
{
"type": "frontmost_application_unless",
"bundle_identifiers": ["^net\\.kovidgoyal\\.kitty$"]
}
],
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["control"]
}
},
"to": [
{
"key_code": "l",
"modifiers": ["command"]
}
],
"type": "basic"
}
]
}
]
}
@@ -65,22 +65,6 @@
], ],
"type": "basic" "type": "basic"
}, },
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["control"]
}
},
"to": [
{
"key_code": "l",
"modifiers": ["left_command"]
}
],
"type": "basic"
},
{ {
"from": { "from": {
"key_code": "t", "key_code": "t",