set default-terminal to tmux-256color when available, fixes #205, fixes #382, closes #386

see https://github.com/tmux/tmux/wiki/FAQ#i-dont-see-italics-or-italics-and-reverse-are-the-wrong-way-round
This commit is contained in:
Gregory Pakosz
2021-10-20 19:07:23 +02:00
parent a71d0d9f8d
commit e8032e3ffb
+3 -1
View File
@@ -9,7 +9,9 @@
# -- general -------------------------------------------------------------------
set -g default-terminal "screen-256color" # colors!
set -g default-terminal "screen-256color"
if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"'
setw -g xterm-keys on
set -s escape-time 10 # faster command sequences
set -sg repeat-time 600 # increase repeat timeout