If I do not use tmux my terminal is the following:
~$ echo $TERM
xterm
If I use tmux by adding the following into .bashr
# tmux configuration
tmux attach &> /dev/null
if [[ ! $TERM =~ screen ]]; then
exec tmux
fi
My .tmux.conf has a line set-option -g default-terminal "screen-256color", but the terminal is the following:
~$ echo $TERM
screen
This makes VIM ugly. How can I get the tmux to use screen-256color? Using gnome terminal on Ubuntu 14.02