Skip to content

Instantly share code, notes, and snippets.

View minhlong's full-sized avatar
🚀
Dev Dit Den 🚀

Timmy minhlong

🚀
Dev Dit Den 🚀
  • Viet Nam
View GitHub Profile
@minhlong
minhlong / alacritty-tmux-vim_truecolor.md
Created November 10, 2021 04:28 — forked from andersevenrud/alacritty-tmux-vim_truecolor.md
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 when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Tested successfully in bash and zsh with latest packages from Arch Linux (with exception of neovim built from source):

  • 2019-07-07
  • 2021-08-07

Notes

  1. Don't use &t_8f, &t_8b and t_Co in your vim config
  2. Don't set $TERM in your zshrc, bashrc, etc. Configure this in your terminal (alacritty).
@minhlong
minhlong / .vimrc
Last active April 14, 2021 04:38 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15