Skip to content

Instantly share code, notes, and snippets.

@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active January 20, 2026 13:32
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

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).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
@hexfusion
hexfusion / gist:9141943
Created February 21, 2014 19:43
install (Image::Magick) on a custom Perl installed via plenv
# thanks to
# http://darkpan.com/files/plenv-imagemagick.txt
# for original info.
Installing ImageMagick (Image::Magick) on a custom Perl installed via plenv
- plenv
git clone git://github.com/tokuhirom/plenv.git ~/.plenv
echo 'export PATH="$HOME/.plenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(plenv init -)"' >> ~/.bash_profile