tmux: fix undercurls in neovim

This commit is contained in:
Nico 2025-05-03 16:15:59 +10:00
parent 009b68a2cd
commit 43bc80e3bb
4 changed files with 11 additions and 1 deletions

View file

@ -21,6 +21,11 @@ set -g history-limit 100000
set -g base-index 1
setw -g pane-base-index 1
# fix undercurls: https://github.com/folke/tokyonight.nvim#fix-undercurls-in-tmux
set -g default-terminal "${TERM}"
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'
# plugins
# got from: https://github.com/tmux-plugins/tpm/blob/master/docs/automatic_tpm_installation.md, changed to a more sensible install dir
if "test ! -d ~/.local/share/tmux/plugins/tpm" \