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-19 22:11:18 +02:00
parent a71d0d9f8d
commit e8032e3ffb
1 changed files with 3 additions and 1 deletions

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