diff dot_tmux.conf @ 355:44442a6b8aa6

Set the smso option to make italics work in tmux
author zegervdv <zegervdv@me.com>
date Mon, 01 Mar 2021 18:51:07 +0100
parents f220567b278e
children ce08bc71b455
line wrap: on
line diff
--- a/dot_tmux.conf	Sat Feb 27 10:35:36 2021 +0100
+++ b/dot_tmux.conf	Mon Mar 01 18:51:07 2021 +0100
@@ -14,8 +14,9 @@
         set -u status-right \;\
         refresh-client -S
 # improve colors
-set -g default-terminal 'xterm-256color'
-set-option -ga terminal-overrides ",xterm-256color:Tc"
+set -g default-terminal 'tmux-256color'
+set -as terminal-overrides ',xterm*:Tc:smso=\E[3m'
+set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
 set-option -g allow-rename off
 set-window-option -g automatic-rename off