summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/tmux/tmux.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index b032a3f..fb4f881 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -7,8 +7,11 @@ unbind-key C-b
bind-key C-a send-prefix
# Allows vim to display colors correctly.
-set -g default-terminal 'screen-256color'
+set -g default-terminal "${TERM}"
set -ga terminal-overrides ',*256col*:Tc'
+# Undercurl
+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' # underscore colours - needs tmux-3.0
# Status line
set -g status on