aboutsummaryrefslogtreecommitdiff
path: root/modules/tmux/default.nix
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-04-29 16:36:55 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-04-29 16:36:55 -0400
commita1c69cddca1e8feb871e5a26b3809336f80a58bd (patch)
treeae98db58f828bee37ea1a19fa6d11b6616d35637 /modules/tmux/default.nix
parent5ea3e108c85d5635ee945d3a47be1ad1d6940e97 (diff)
downloadhome-a1c69cddca1e8feb871e5a26b3809336f80a58bd.tar.gz
update
Diffstat (limited to 'modules/tmux/default.nix')
-rw-r--r--modules/tmux/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix
index cd5f0c6..4fab8e3 100644
--- a/modules/tmux/default.nix
+++ b/modules/tmux/default.nix
@@ -42,6 +42,10 @@ in
extraConfig = ''
set -g default-terminal "screen-256color"
set -g default-command zsh # this fixes colors for some reason
+ # undercurl support in neovim
+ set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
+ # support colors for undercurl
+ set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
set -g renumber-windows on
bind R source-file ~/.config/tmux/tmux.conf