You can try out my solution (it's a script, but there may be some ideas that
are usable):
https://github.com/aaronjensen/dotfiles/blob/master/bin/tmux-zoom
https://github.com/aaronjensen/dotfiles/blob/master/tmux.conf#L86-L88
Basically it creates a new window with a temporary pane that it swaps out. That
pane sticks around and I actually just have it say "Press enter to unzoom…"
That's probably not how you'd want it to work in tmux, but maybe it could
automatically unzoom if returning to the window? Or leaving that window? I'm
not sure there are probably lots of edge cases…
Aaron
On Thursday, February 21, 2013 at 11:52 PM, Nicholas Marriott wrote:
> Hmm. Not sure I like scrambling all the other panes sizes but I don't
> see offhand why it freezes. I take it you didn't do restore?
>
> Thinking more a mode wouldn't do it because of course they are inside
> the pane :-).
>
> I think rather than removing the old layout we should just save it off
> and make a new temporary one, then restoring it is simple. The problem
> is of course all the panes are still reachable via the window so might
> need checks all over the place... maybe just a check in
> window_pane_visible might get some of them. And a bunch of calls in
> various places to restore the layout before doing things like kill
> pane/select layout/etc etc etc.
>
> Maybe I'll play with it later.
>
>
> On Fri, Feb 22, 2013 at 07:23:08AM +0000, Thomas Adam wrote:
> > On 22 February 2013 07:18, Nicholas Marriott
> > <nicholas.marri...@gmail.com (mailto:nicholas.marri...@gmail.com)> wrote:
> > > It is about time we supported this properly - so you want keys to
> > > maximize a single pane in the window so it covers all the others, then
> > > restore it back?
> > >
> >
> >
> > See:
> > https://github.com/ThomasAdam/tmux/commit/4e8ede83ea62f43505347d367f2855d30d68b07b.diff
> >
> > Note that the problem it has is the pane freezes because it's probably
> > considered not visible.
> >
> > -- Thomas Adam
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net (mailto:tmux-users@lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users