From 4ba4643e8ba2e2ecdad5ba90294ab729b3b25c21 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Sun, 28 Jul 2019 11:47:45 -0400 Subject: [PATCH] vim: set t_8f/t_8b to always use high-color terminal --- vim/vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index fd01cd4..2b3b900 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -142,8 +142,9 @@ if has('gui_running') set lines=24 set columns=83 else - " use 256-color terminal capabilities - set t_Co=256 + " use high-color terminal capabilities + let &t_8f = "\[38;2;%lu;%lu;%lum" + let &t_8b = "\[48;2;%lu;%lu;%lum" let base16colorspace=256 set termguicolors endif