From: Samir Benmendil Date: Sat, 6 Feb 2021 13:08:01 +0000 (+0000) Subject: vim: support for truecolors X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/28aa720dc79398e878518f64e394569d24a57c19?ds=inline vim: support for truecolors May need to check if terminal supports it. --- diff --git a/vim/vimrc b/vim/vimrc index 675b5ab..67b77a6 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -125,6 +125,9 @@ filetype plugin indent on " colorscheme {{{1 syntax on set background=dark +let &t_8f = "\[38;2;%lu;%lu;%lum" +let &t_8b = "\[48;2;%lu;%lu;%lum" +set termguicolors colorscheme $THEME " options {{{1