# `man 5 alacritty` [cursor] vi_mode_style = "Block" # 1. when set TERM use alacritty on windows, syntax is very bad # 2. need to set xterm-256color if want ls show color when use ssh # But this is actually a wrong/bad workaround and not real fix for issue 2 above. I should not do this. # The correct way is to the patch to add `TERM alacritty` in coreutils git repo src/dircolors.hin # But the patch does not go through # related coreutils ls issues mailing list: # https://lists.gnu.org/archive/html/bug-coreutils/2024-04/msg00022.html # https://lists.gnu.org/archive/html/bug-coreutils/2024-04/msg00020.html # https://lists.gnu.org/archive/html/coreutils/2021-10/msg00007.html # related alacritty issues: # https://github.com/alacritty/alacritty/issues/3901 # https://github.com/alacritty/alacritty/issues/3606 # https://github.com/alacritty/alacritty/issues/2210 # https://github.com/alacritty/alacritty/issues/3705 # https://github.com/alacritty/alacritty/issues/4710 # I choose a more correct workaround to pass COLORTERM to ssh # If some remote server doesn't work well e.g.: can't install alacritty, # I then choose to set TERM to st in ssh config for that server #[env] #TERM = "xterm-256color" [font] size = 8.0 # for cataclysm dda game, use this font, kinda square font, recommended from web # for .toml, all following three configs seem work # https://toml.io/en/v1.0.0#inline-table #normal.family = "White Rabbit" #normal = { family = "White Rabbit" } #[font.normal] #family = "White Rabbit" [window] dynamic_padding = true # alacritty change default color scheme related dicussions and links: # Their decision to change: # https://github.com/alacritty/alacritty/pull/6933 # https://github.com/alacritty/alacritty/pull/6933/commits/a68bad5eb7a26e2a5fc1d687e4ba818eb9b7e206 # https://github.com/alacritty/alacritty/blob/91e3cd6a40aa98cf9a76e7cd3534f7fbb0a27098/CHANGELOG.md?plain=1#L48 # Efforts about how to change back: # https://github.com/alacritty/alacritty/issues/7467 # https://github.com/alacritty/alacritty-theme/pull/58 # True old default color scheme: # https://github.com/alacritty/alacritty-theme/blob/master/themes/alacritty_0_12.toml # Alacritty's default color scheme pre-0.13 (based on tomorrow_night) # https://github.com/alacritty/alacritty/blob/v0.12.3/alacritty/src/config/color.rs [colors.primary] foreground = "#c5c8c6" background = "#1d1f21" [colors.normal] black = "#1d1f21" red = "#cc6666" green = "#b5bd68" yellow = "#f0c674" blue = "#81a2be" magenta = "#b294bb" cyan = "#8abeb7" white = "#c5c8c6" [colors.bright] black = "#666666" red = "#d54e53" green = "#b9ca4a" yellow = "#e7c547" blue = "#7aa6da" magenta = "#c397d8" cyan = "#70c0b1" white = "#eaeaea" [colors.dim] black = "#131415" red = "#864343" green = "#777c44" yellow = "#9e824c" blue = "#556a7d" magenta = "#75617b" cyan = "#5b7d78" white = "#828482" [colors.hints] start = { foreground = "#1d1f21", background = "#e9ff5e" } end = { foreground = "#e9ff5e", background = "#1d1f21" } [colors.search] matches = { foreground = "#000000", background = "#ffffff" } focused_match = { foreground = "#ffffff", background = "#000000" }