alacritty: 0 to reset font size

This commit is contained in:
Oliver Ladner 2024-08-16 10:22:55 +02:00
commit 98abdb6aef

View file

@ -12,13 +12,7 @@
# selection (Ctrl v). You can also toggle between them while the selection is
# still active.
import = [
#"~/.config/alacritty/tokyonight_day.toml",
#"~/.config/alacritty/tokyonight_moon.toml",
#"~/.config/alacritty/tokyonight_night.toml",
"~/.config/alacritty/tokyonight_storm.toml",
#"~/.config/alacritty/catppuccin-macchiato.toml",
]
import = ["~/.config/alacritty/tokyonight_day.toml"]
[font]
normal = { family = "JetBrainsMono Nerd Font", style = "Thin" }
@ -54,6 +48,7 @@ bindings = [
# Required to make Ctrl+/ work on macOS (used in Telescope)
{ chars = "\u001F", key = "Slash", mods = "Control" },
{ key = "Key0", mods = "Command", action = "ResetFontSize" },
{ key = "0", mods = "Command", action = "ResetFontSize" },
{ key = "Plus", mods = "Command", action = "IncreaseFontSize" },
{ key = "Minus", mods = "Command", action = "DecreaseFontSize" },
{ key = "PageUp", mods = "Shift", action = "ScrollPageUp" },