dotfiles/config/tmux/tmux.conf: true color

Enable true color support in tmux. I didn't even know this was not
working in my current setup. Very interesting read below.

See: https://jdhao.github.io/2018/10/19/tmux_nvim_true_color/
This commit is contained in:
Alan Orth 2022-11-07 21:55:39 +03:00
parent 79cf112ad4
commit 188e055677
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -107,6 +107,9 @@ set-option -g history-limit 4096
# like CentOS 7 don't support tmux-256color so let's keep screen-256color # like CentOS 7 don't support tmux-256color so let's keep screen-256color
# for now. # for now.
set-option -g default-terminal "screen-256color" set-option -g default-terminal "screen-256color"
# 2022-11-07: Tell Tmux that outside terminal supports true color
# See: https://jdhao.github.io/2018/10/19/tmux_nvim_true_color/
set -ga terminal-overrides ",xterm-256color*:Tc"
#### COLOUR (Solarized dark) #### COLOUR (Solarized dark)