Can you show a screenshot of the problem?

Also what is TERM set to inside of tmux?

IIRC vim or some vim themes have a bug where they assume the terminal
supports BCE (background colour erase) even when it says it doesn't
(like tmux).


On Mon, Oct 31, 2011 at 11:38:09AM +0800, stardiviner wrote:
> I find that vim's color has a little different with tmux.
> for example:
> I set vim's color with the 256-color set. like ctermbg=232
> But the background color of tmux can not be changed by vim, even though I set 
> all
> background color into 232. Still there is a little difference between vim and 
> tmux.
> The difference is: the bgcolor for text is deeper than other non-text part in 
> vim.
> And the non-text part color is same with tmux. then I try to change 
> ctermbg=233, 
> now, the vim text bgcolor is same with non-text color. but when I restart vim.
> This difference appear again. until I set "colorscheme molokai" vim vimrc 
> twice.
> Then it can work good. But I do not want my vimrc has two "colorscheme 
> molokai".
> I want to find out what on earth it is. And I know maybe the problem is on 
> vimrc.
> But this vimrc can work correctly in urxvt terminal. And tmux run under urxvt 
> too.
> 
> I know this loooong .. but hope you can help me. Tanks in advance.
> 
> -- 
> stardiviner GPG: 5D9F64D8 Twitter: @numbchild
> http://stardiviner.dyndns-blog.com/author.html



> ------------------------------------------------------------------------------
> Get your Android app more play: Bring it to the BlackBerry PlayBook 
> in minutes. BlackBerry App World™ now supports Android™ Apps 
> for the BlackBerry® PlayBook™. Discover just how easy and simple 
> it is! http://p.sf.net/sfu/android-dev2dev

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to