[ADD][TMUX] Enable 24-bit true-color
I need the correct TERM value, as well as the correct terminal overrides so that both color and italics work correctly.
This commit is contained in:
parent
2d04aa780a
commit
05cb3c1c64
|
@ -5,6 +5,13 @@ set -g default-command "${SHELL}"
|
|||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
|
||||
|
||||
# Use correct TERM for termcap info
|
||||
set -g default-terminal "tmux-256color"
|
||||
# Use 24bit true color
|
||||
set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m'
|
||||
# Compatibility settings
|
||||
set-option -ga terminal-overrides ",tmux-256color-italic:Tc,xterm-256color-italic:Tc"
|
||||
|
||||
# Change where plugins are downloaded
|
||||
set-environment -g TMUX_PLUGIN_MANAGER_PATH '/home/ambroisie/.config/tmux/plugins/'
|
||||
|
||||
|
|
Loading…
Reference in a new issue