Possible Duplicate:
Getting 256 colors to work in tmux
I want to set my terminal to 256 colors. I normally use the Gnome terminal which is shipped by default in Ubuntu but I also downloaded Terminator and tried Xterm and all them return 8 when I call tput color
inside Tmux.
How can I arrange to have 256 colors in Tmux inside Gnome terminal so I can use Vim's 256-color scheme?
TERM
toxterm-256color
. – jw013 May 09 '12 at 02:52for 256 colors in tmux your 'echo $TERM' needs to return screen-256color and mine was returning screen. So i followed the instruction on this link https://wiki.archlinux.org/index.php/Tmux#Setting_the_correct_term and everything worked.
– Luis D Urraca May 09 '12 at 03:22