docs: added info on setting up tmux with undercurls
This commit is contained in:
11
README.md
11
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.
|
||||
|
||||
Reference in New Issue
Block a user