This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
- Don't set
$TERM
in your shell (zshrc, bashrc, etc.). Configure this in your terminal (alacritty). - Alacritty currenty has no undercurl support (landing soon), even though tmux has
Running this script should look the same in tmux as without.