From d4bd2b389a4bd4ebc8351ef16a5b6070e9eed1f7 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 30 Apr 2021 08:43:16 +0200 Subject: [PATCH] docs: added info on setting up tmux with undercurls --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 970ce8a..8631256 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,17 @@ let g:tokyonight_sidebars = [ "qf", "vista_kind", "terminal", "packer" ] colorscheme tokyonight ``` +### Making `undercurls` work properly in **Tmux** + +To have undercurls show up and in color, add the following to your **Tmux** config file: + +```sh +# Undercurl +set -g default-terminal "${TERM}" +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 +``` + ## 🍭 Extras Extra color configs for **Kitty**, **Alacritty**, **Fish** and **iTerm** can be found in [extras](extras/). To use them, refer to their respective documentation.