Fix mac keybindings: ctrl(+shift)+backspace now works for word deletion
in both directions. Aerospace doesnt have conflicting keybindings anymore.
This commit is contained in:
parent
49a2249634
commit
d9dabcd655
2 changed files with 69 additions and 33 deletions
|
|
@ -120,9 +120,8 @@ cmd-shift-c = 'reload-config'
|
|||
cmd-shift-f = 'fullscreen'
|
||||
|
||||
cmd-shift-v = 'layout h_tiles'
|
||||
cmd-shift-h = 'layout v_tiles'
|
||||
cmd-shift-s = 'layout v_tiles'
|
||||
cmd-shift-t = 'layout h_accordion'
|
||||
cmd-shift-s = 'layout v_accordion'
|
||||
|
||||
[[on-window-detected]]
|
||||
if.app-id = 'org.qutebrowser.qutebrowser'
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
"from": {
|
||||
"key_code": "h",
|
||||
"modifiers": {
|
||||
"mandatory": ["control"],
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
"from": {
|
||||
"key_code": "j",
|
||||
"modifiers": {
|
||||
"mandatory": ["control"],
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
"from": {
|
||||
"key_code": "k",
|
||||
"modifiers": {
|
||||
"mandatory": ["control"],
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
|
|
@ -123,7 +123,7 @@
|
|||
"from": {
|
||||
"key_code": "l",
|
||||
"modifiers": {
|
||||
"mandatory": ["control"],
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
|
|
@ -154,35 +154,72 @@
|
|||
{
|
||||
"description": "Escape ↔ Caps Lock toggle",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "escape",
|
||||
"modifiers": {
|
||||
"optional": ["any"]
|
||||
}
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "escape",
|
||||
"modifiers": {
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "caps_lock"
|
||||
}
|
||||
]
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "caps_lock"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "escape",
|
||||
"modifiers": {
|
||||
"mandatory": ["shift"]
|
||||
}
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "escape",
|
||||
"modifiers": {
|
||||
"mandatory": ["shift"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "caps_lock"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Control+Backspace → Option+Backspace (word deletion)",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "delete_or_backspace",
|
||||
"modifiers": {
|
||||
"mandatory": ["control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "delete_or_backspace",
|
||||
"modifiers": ["option"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "caps_lock"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
{
|
||||
"from": {
|
||||
"key_code": "delete_or_backspace",
|
||||
"modifiers": {
|
||||
"mandatory": ["control", "shift"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "delete_or_backspace",
|
||||
"modifiers": ["option", "shift"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue