change how vim detects tmux

This commit is contained in:
riley 2021-11-08 01:16:05 -05:00
parent 2a16612bab
commit 18821b3092
1 changed files with 1 additions and 1 deletions

2
.vimrc
View File

@ -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"