-
tested to work on macOS iTerm2 and Windows WSL terminals based on mintty.
-
ticthe terminfo files -
configure the terminal emulator to use xterm-256color-italic
-
on ArchLinux (WSL or not),
tic'ingtmux-256color.terminfois generally not needed, it's already provided and can be referred from.tmux.confwithout problems
Last active
August 14, 2024 07:24
-
-
Save oblitum/a809046efed1c2027259ee6e5c7486d0 to your computer and use it in GitHub Desktop.
Configuration for 24bit true colors terminal with italic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -g default-terminal 'tmux-256color' | |
| # Enable 24 bit true colors | |
| set -ga terminal-overrides ',*:Tc' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set t_ut= " fix 256 colors in tmux http://sunaku.github.io/vim-256color-bce.html | |
| if has("termguicolors") " set true colors | |
| let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" | |
| let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" | |
| set termguicolors | |
| endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tmux-256color|tmux with 256 colors, | |
| ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, | |
| use=xterm-256color, use=screen-256color, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xterm-256color-italic|xterm with 256 colors and italic, | |
| sitm=\E[3m, ritm=\E[23m, | |
| use=xterm-256color, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment