From d8decfcf232df43ad66f65a77da793ebd7c6da6c Mon Sep 17 00:00:00 2001
From: Daniel Lundin <daniel@arity.se>
Date: Thu, 15 Oct 2020 10:08:47 +0200
Subject: [PATCH] =?UTF-8?q?terminalslagsm=C3=A5l?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .tmux.conf | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf
index 81851b3..06310c1 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -18,8 +18,15 @@ bind-key ] paste-buffer -p
 set -g update-environment "XAUTHORITY DISPLAY WINDOWID SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION"
 set -g default-command zsh
 set -g history-limit 50000
-set -g default-terminal "tmux-256color"
-set -as terminal-overrides ',*:Tc:Su:smuc=\E[4:3m:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # colored underline
+#set -g default-terminal "tmux-256color"
+set -g default-terminal "xterm-kitty"
+#set -as terminal-overrides ',*:Tc:Su:smuc=\E[4:3m:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # colored underline
+
+set -ga terminal-overrides ",*:Tc"  # true colous support
+set -as terminal-overrides ',*:sitm=\E[3m' # Italics support for older ncurses
+set -as terminal-overrides ',*:smxx=\E[9m' # Strikeout
+set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'  # undercurl support
+set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'  # under
 
 # Key bindings
 bind -n M-Left select-pane -L