support italics in tmux

This commit is contained in:
ryan manseau 2023-12-06 17:00:02 -08:00
parent de968c3e93
commit 1f3194e119
2 changed files with 8 additions and 2 deletions

View File

@ -24,8 +24,8 @@ set -g allow-rename off
set -g allow-passthrough on
set -g history-limit 50000
# Allow Spacemacs to correctly show colours
set -g default-terminal 'screen-256color'
set -g default-terminal "tmux" # install with tic -x tmux.terminfo
set-option -sa terminal-overrides ",xterm*:Tc"
# Send the escape key after 10ms (Defaults to 500ms)
set -s escape-time 10

6
tmux.terminfo Normal file
View File

@ -0,0 +1,6 @@
tmux|tmux terminal multiplexer,
ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
use=xterm+tmux, use=screen,
tmux-256color|tmux with 256 colors,
use=xterm+256setaf, use=tmux,