From 18821b3092d61de942eeaaabc0daa82585ae3f53 Mon Sep 17 00:00:00 2001 From: riley Date: Mon, 8 Nov 2021 01:16:05 -0500 Subject: [PATCH] change how vim detects tmux --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index bf71e9d..e6a01c1 100644 --- a/.vimrc +++ b/.vimrc @@ -6,7 +6,7 @@ if empty(glob(data_dir . '/autoload/plug.vim')) autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif -if exists('$TMUX') +if $TERM == 'tmux-256color' " Colors in tmux let &t_8f = "\033[38;2;%lu;%lu;%lum" let &t_8b = "\033[48;2;%lu;%lu;%lum"