Timeline for Why do Vim colors look different inside and outside of tmux?
Current License: CC BY-SA 3.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 9, 2023 at 11:42 | answer | added | Abdull | timeline score: 24 | |
| Feb 4, 2022 at 0:04 | answer | added | LeOn - Han Li | timeline score: 1 | |
| Feb 18, 2021 at 23:16 | answer | added | Haodong Du | timeline score: 0 | |
| Aug 21, 2019 at 13:15 | comment | added | dtrckd | Adding set -g default-terminal "screen.xterm-256color" in ~/.tmux.conf and reload the config in tmux (<C-s>: source-file ~/.tmux.conf) worked for me (highlight issue). thx | |
| May 23, 2017 at 12:40 | history | edited | CommunityBot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| May 6, 2017 at 13:03 | answer | added | Vitali Plagov | timeline score: 57 | |
| Mar 4, 2017 at 2:15 | vote | accept | Rusty Shackleford | ||
| Mar 4, 2017 at 1:49 | answer | added | Thomas Dickey | timeline score: 34 | |
| Mar 4, 2017 at 1:38 | answer | added | Rusty Shackleford | timeline score: 6 | |
| Mar 3, 2017 at 23:19 | history | tweeted | twitter.com/StackUnix/status/837804712133033988 | ||
| Mar 3, 2017 at 21:06 | comment | added | egmont | Another interesting thing is that the xterm-256color version seems to print the screen twice, first with the legacy colors and then with the 256-color palette. Search for e.g. "F1" in the file, you'll find two matches in xterm-256color, the first with \e[34m color, the second with \e[38;5;81m. I don't know what's going on here. | |
| Mar 3, 2017 at 21:04 | comment | added | egmont | I can see 256-color escape sequences in the xterm-256color version (search for "38;5;" in the file), but cannot in the screen-256color. E.g. wherever there's a \e[38;5;81m in xterm-256color (color #81 of the 256-color palette, a middle blue shade), screen-256color contains \e[34m instead (the standard blue of the 8-color palette). So the main question is why does vim not use the 256-color palette in case of TERM=screen-256color. | |
| Mar 3, 2017 at 18:59 | comment | added | Rusty Shackleford | @egmont Here you go: typescript-xterm-256color and typescript-screen-256color. | |
| Mar 3, 2017 at 11:07 | comment | added | egmont | Could you please start script, start vim, quit vim and then quit script's shell, and attach the resulting typescript file? Then repeat the same steps with TERM=screen-256color vim instead. | |
| Mar 2, 2017 at 23:19 | history | edited | Gilles 'SO- stop being evil' | edited tags | |
| Mar 2, 2017 at 22:32 | answer | added | laktak | timeline score: 0 | |
| Mar 2, 2017 at 21:38 | review | First posts | |||
| Mar 3, 2017 at 0:02 | |||||
| Mar 2, 2017 at 21:37 | history | asked | Rusty Shackleford | CC BY-SA 3.0 |