dotfiles/.config/alacritty/alacritty.toml

56 lines
1.8 KiB
TOML
Raw Normal View History

2024-02-04 10:42:20 +01:00
# Vi Mode
# The vi mode allows moving around Alacritty's viewport and scrollback using
# the keyboard. It also serves as a jump-off point for other features like
# search and opening URLs with the keyboard. By default you can launch it
# using Ctrl Shift Space.
# Selection
# One useful feature of vi mode is the ability to make selections and copy text
# to the clipboard. By default you can start a selection using v and copy it
# using y. All selection modes that are available with the mouse can be accessed
# from vi mode, including the semantic (Alt v), line (Shift v) and block
# selection (Ctrl v). You can also toggle between them while the selection is
# still active.
2024-01-25 21:41:00 +01:00
import = [
#"~/.config/alacritty/tokyonight_day.toml",
2024-05-16 09:39:31 +02:00
#"~/.config/alacritty/tokyonight_moon.toml",
2024-01-25 21:41:00 +01:00
#"~/.config/alacritty/tokyonight_night.toml",
2024-05-16 09:39:31 +02:00
"~/.config/alacritty/tokyonight_storm.toml",
#"~/.config/alacritty/catppuccin-macchiato.toml",
2024-01-25 21:41:00 +01:00
]
[font]
normal = { family = "JetBrainsMono Nerd Font", style = "Thin" }
2024-02-04 10:42:20 +01:00
bold = { style = "Bold" }
italic = { style = "Italic" }
bold_italic = { style = "Bold Italic" }
2024-01-25 21:41:00 +01:00
size = 17
[window]
2024-01-31 17:43:19 +01:00
option_as_alt = "Both"
2024-01-25 21:41:00 +01:00
decorations = "None"
2024-01-31 17:43:19 +01:00
padding = { x = 12, y = 5 }
dynamic_padding = true
2024-01-25 21:41:00 +01:00
[bell]
duration = 10
color = "#3a3a3a"
[cursor]
style = { shape = "Block", blinking = "Always" }
2024-02-04 10:42:20 +01:00
[keyboard]
bindings = [
# Required to make Ctrl+/ work on macOS (used in Telescope)
{ chars = "\u001F", key = "Slash", mods = "Control" },
{ key = "Key0", mods = "Command", action = "ResetFontSize" },
{ key = "Plus", mods = "Command", action = "IncreaseFontSize" },
{ key = "Minus", mods = "Command", action = "DecreaseFontSize" },
{ key = "PageUp", mods = "Shift", action = "ScrollPageUp" },
{ key = "PageDown", mods = "Shift", action = "ScrollPageDown" },
2024-02-04 10:42:20 +01:00
]
#[mouse]
#hide_when_typing = true