aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tmux/.config
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.config')
-rw-r--r--tmux/.config/tmux/tmux.conf17
1 files changed, 7 insertions, 10 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
index eb63cf9..b15fdde 100644
--- a/tmux/.config/tmux/tmux.conf
+++ b/tmux/.config/tmux/tmux.conf
@@ -1,16 +1,13 @@
# TODO: Figure out how to get undercurls working on windows (works on linux)
-# set -g default-terminal 'alacritty'
-# set -as terminal-overrides ',*:Tc'
-set -g default-terminal "tmux-256color"
-set -g escape-time 50
-set -ga terminal-overrides ",alacritty:Tc"
+# support 256 color
+set -g default-terminal 'alacritty'
+set -as terminal-overrides ',*:Tc'
-# undercurls not needed
-# 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
-set -ga terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
-set -ga terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
+# undercurl / colored underline support
+set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
+set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
+set -g escape-time 50
set -g mouse on
set -g prefix C-a