суббота, 29 мая 2021 г. в 18:57:42 UTC+3, Bram Moolenaar:
> > Maxim Kim wrote: > > > > *tmux* > > > When using tmux you may want to use this in the tmux config: > > > > # tmux colors > > > set -g default-terminal "xterm-256color" > > > set -ag terminal-overrides ",xterm-256color:Tc" > > > > > > Let me know if something needs to be changed. > > > > > > > > > > > This works for me too (on debian): > > > > set -g default-terminal "tmux-256color" > > set -ag terminal-overrides ',*:RGB' > > OK, so which one of the two should we recommend? > > I guess it depends on what terminfo is more common to be installed by default: https://unix.stackexchange.com/questions/1045/getting-256-colors-to-work-in-tmux quote> > The newest version of ncurses ships with a *tmux-256color* terminfo entry (the FAQ <https://github.com/tmux/tmux/wiki/FAQ#why-do-you-use-the-screen-terminal-description-inside-tmux> does mention this). > As an example, a benefit of using *tmux-256color* over *screen-256color* is that italics is properly rendered (screen doesn't support italics). > So if you are using tmux 2.6 or above, and have the latest ncurses package, the following will work as well: > set -g default-terminal "tmux-256color" Also for terminal overrides https://gist.github.com/bbqtd/a4ac060d6f6b9ea6fe3aabe735aa9d95#rgb-colors -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/68fd9879-7eae-41d1-9174-c3614f16f604n%40googlegroups.com.
