Timeline for Why do Vim colors look different inside and outside of tmux?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot | replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/ | |
| Apr 13, 2017 at 12:22 | history | edited | CommunityBot | replaced http://askubuntu.com/ with https://askubuntu.com/ | |
| Mar 4, 2017 at 19:47 | comment | added | egmont | Thanks for the explanation - I still cannot see any rationale behind this though. Nevermind. vim has really weird design decisions. | |
| Mar 4, 2017 at 16:14 | comment | added | Rusty Shackleford | @egmont I interpreted @ThomasDickey's answer as: 1) Vim checks the bce capability of the terminal, 2) if present, select color scheme "A", 3) otherwise, select color scheme "B". I believe the color depth is the same in both cases (i.e. 256 colors, as t_Co shows). It's just that color scheme "B" on my system happens to only use an 8-color palette even though 256 colors are possible (I think that explains what you observed in your typescript analysis; please correct me if I'm wrong). Remember, after I run :colorscheme ron, I see 256-color escape sequences in the same Vim session. | |
| Mar 4, 2017 at 14:54 | comment | added | egmont | I'm also curious why vim behaves this way. After all, the bce capability should have nothing to do with the available number of colors. | |
| Mar 4, 2017 at 1:38 | history | answered | Rusty Shackleford | CC BY-SA 3.0 |