Vim 256 colour strange behaviour with tmux

Viewed 2668

Just an interesting little problem I've got going on with terminals. I'm using vim inside of gnome-terminal. I like to have 256 colours so I don't have to use gVIM.

My relevant .zshrc settings are:

export TERM=xterm-256color

My relevant .vimrc settings are:

if $COLORTERM == 'gnome-terminal'
  set t_Co=256
endif

You'll notice from this showterm what the problem is: http://showterm.io/06460aeb043cac4bd0256

I'm getting a weird background colour with the tmux vim. Any help on this would be great.

2 Answers
Related