aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-07-15 12:18:26 -0500
committerToby Vincent <tobyv13@gmail.com>2022-07-15 12:18:26 -0500
commit9ebc45616e104b73f2deab0f7b0f9e12a168b581 (patch)
tree347dd37a7e68c08c169417598857e7a0b2d884b0
parentd5f284e1921436a45325c2955b64d53d3954ee1b (diff)
feat(tmux): attempt to get undercurls working in alacritty/tmux
-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