tmux-sensible
tmux-sensible copied to clipboard
Why not `tmux-256color`?
Now it is
# Upgrade $TERM
set -g default-terminal "screen-256color"
but why not
# Upgrade $TERM
set -g default-terminal "tmux-256color"
tmux color term enables italic font and ensure more color consistency with xterm-256color
which is usually the case outside tmux
.
Your suggestion is certainly sensible because it is supported by the tmux wiki: https://github.com/tmux/tmux/wiki/FAQ#i-dont-see-italics-or-italics-and-reverse-are-the-wrong-way-round, and by my experience.
When used in conjunction with fzf
the current setup results in a common fzf
issue: https://github.com/junegunn/fzf.vim/issues/1356#issuecomment-2088240779
Using set -g default-terminal "tmux-256color"
instead resolves this. Might be worth to changes this.