> > Unless you are running tmux inside screen, you should not use TERM=screen
> > outside.
> > 
> > You should have TERM=screen /inside/ tmux. tmux will set that itself but you
> > should be careful not to change it in shell startup files.
> 
> Probably I missed this. What's the recommended TERM entry to use with 
> tmux? Now I am running with
> 
> $ TERM=color_xterm tmux -2

It should match your terminal. For xterm, I use xterm-xfree86 but xterm-color
or color_xterm are fine if they work for you. If you are using a 256-color
xterm, xterm-256color is probably the best (you won't need -2 in that case).

> > > Also, when in tmux, I can't have the behaviour expected by main-vertical 
> > > unless I already splitted window. Is this normal?
> > 
> > I don't understand what you mean. None of the layouts can do anything unless
> > you have multiple panes already. If you want to force a window to take up 
> > only
> > part of the full terminal size, you can use the force-width and force-height
> > options.
> 
> I was expecting that _if I split_, it will act as main-vertical. Yes, 
> I'm using force-width option.

Layouts are now applied once when you ask for them, the way to have one
automatically applied after you split is to bind it to your split key as well:

    bind '"' splitw\; selectl main-vertical

Regards

Nicholas

Reply via email to