alacritty 配置文件

官方配置参考链接:https://alacritty.org/config-alacritty.html

alacritty.toml

windows 的配置文件位置是:

%APPDATA%\alacritty\alacritty.toml

linxu的配置文件位置是:

~/.config/alacritty/alacritty.yml
[general]
live_config_reload = true

[window]
decorations = "full"
dynamic_padding = false
opacity = 1 
startup_mode = "Windowed"
dimensions = {columns = 100, lines = 85}
padding = {x = 0, y = 0}

[keyboard]
bindings = [
  {key = "V", mods = "Control|Shift", action = "Paste"},
  {key = "C", mods = "Control|Shift", action = "Copy"},
]

[cursor]
style = "Underline"
unfocused_hollow = true

[font]
size = 16.0
normal = {family = "Consolas", style = "Regular"}
bold = {family = "Consolas", style = "Bold"}
italic = {family = "Consolas", style = "Italic"} 
glyph_offset = {x = 0, y = 0}
offset = {x = 0, y = 0}

[[hints.enabled]]
command = "xdg-open"
post_processing = true
regex = "(magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+"

[hints.enabled.mouse]
enabled = true
mods = "Control"

[mouse]
hide_when_typing = true

[scrolling]
history = 10000

[colors]
draw_bold_text_with_bright_colors = true
文章目录