From 1f3194e1196ecd7ccc0eec490ee37ad1e03c099f Mon Sep 17 00:00:00 2001 From: ryan manseau Date: Wed, 6 Dec 2023 17:00:02 -0800 Subject: [PATCH] support italics in tmux --- .tmux.conf | 4 ++-- tmux.terminfo | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 tmux.terminfo diff --git a/.tmux.conf b/.tmux.conf index 2fefc7b..b53ddf6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 diff --git a/tmux.terminfo b/tmux.terminfo new file mode 100644 index 0000000..fe14aaf --- /dev/null +++ b/tmux.terminfo @@ -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,