Add undercurl support to Tmux

This config fixes spelling and diagnostics on Vim/Neovim (with the
appropriate colorscheme to implement it).
This commit is contained in:
Dionisio E Alonso 2021-11-19 09:40:25 -03:00
parent 0b01d5084e
commit ecac3157e4
1 changed files with 4 additions and 0 deletions

View File

@ -22,3 +22,7 @@ set-option -g set-titles-string '#T'
bind-key C-x lock
set-option -g lock-command 'cmatrix -abs ; vlock'
#set-option -g lock-after-time 300
# Undercurl
set-option -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
set-option -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0