update keybindings on alacritty
This commit is contained in:
@@ -7,13 +7,59 @@ padding.y = 10
|
|||||||
|
|
||||||
decorations = "Buttonless"
|
decorations = "Buttonless"
|
||||||
|
|
||||||
|
# Linux / Windows: Ctrl + Shift + . and Ctrl + Shift + ,
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "Period"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
#opacity = 0.30
|
[[keyboard.bindings]]
|
||||||
#opacity = 0.4
|
key = "Comma"
|
||||||
opacity = 0.7
|
mods = "Control|Shift"
|
||||||
blur = true
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
#option_as_alt = "Both"
|
# macOS: Command + Shift + . and Command + Shift + ,
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "Period"
|
||||||
|
mods = "Command|Shift"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "Comma"
|
||||||
|
mods = "Command|Shift"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
|
# Fallbacks for shifted-key quirk (some versions/layouts expect the shifted symbol as 'key')
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = ">"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "<"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
|
# Also keep the classic = / - shortcuts (often work reliably)
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "="
|
||||||
|
mods = "Control"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "-"
|
||||||
|
mods = "Control"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "="
|
||||||
|
mods = "Command"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "-"
|
||||||
|
mods = "Command"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal.family = "Comic Code"
|
normal.family = "Comic Code"
|
||||||
|
|||||||
Reference in New Issue
Block a user