change how vim detects tmux
This commit is contained in:
parent
2a16612bab
commit
18821b3092
1 changed files with 1 additions and 1 deletions
2
.vimrc
2
.vimrc
|
@ -6,7 +6,7 @@ if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists('$TMUX')
|
if $TERM == 'tmux-256color'
|
||||||
" Colors in tmux
|
" Colors in tmux
|
||||||
let &t_8f = "\033[38;2;%lu;%lu;%lum"
|
let &t_8f = "\033[38;2;%lu;%lu;%lum"
|
||||||
let &t_8b = "\033[48;2;%lu;%lu;%lum"
|
let &t_8b = "\033[48;2;%lu;%lu;%lum"
|
||||||
|
|
Loading…
Reference in a new issue