Being accustomed to xmonad's layout model, I find the tmux one a little
confusing.  In xmonad (at least as _I_ use it), one has a set of apps[0]
open, and these are automatically tiled according to some layout
heuristic[1], such as "divide apps equally, side-by-side".

However, in xmonad, an app might be running but not currently visible
onscreen.  This is most noticable in the default layout heuristic, which
is "show only one app, filling the display".

Now, I come to tmux, which has windows *and* panes.  It looked like I
can get something very like xmonad by simply using only one window, and
always creating frames, e.g. using ^B" instead of ^Bc.  I can then use
:next-layout to switch layout heuristic.

But: confusion!  There is no "just one app" layout in tmux!  My first
guess is that there must be some way to move apps out of the current
window (without killing them), such that "just one app" is simply to
move all but the current app into a second "unmapped apps" window.  But
I can't find such a command.

Have I simply misunderstood the "right" way to use panes and windows in
tmux?

Going from ratpoison to xmonad, or screen to tmux, and having the WM
automatically manage the :split/:only/:remove/:resize operations via
user-defined layout heuristics is the "killer feature" for me, so I'd
quite like to grok how tmux wants me to do it :-)

[0] I use "app" to mean an X client window (e.g. xlogo) or a tty client
    (e.g. top), so as not to conflate X11 windows with tmux windows.

[1] I believe most (all?) tiling window managers of the dwm era support
    layout heuristics, but I'm only familiar with xmonad.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to