"Maximizing" a pane in tmux
Problem
Sometimes it would be very useful to maximize a pane in tmux and then restore it to it's previous size. I've been reading the manual and I can't find a way. What I've come up with is that I could bind a key to resize the pane to "max" width, and another key to restore it to some predefined width. Of course this has its drawbacks, so I'm wondering if anyone has a better idea.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: "Maximizing" a pane in tmux
This is now a native tmux feature. Version 1.8 saw the addition of the flag to . From the man page: With -Z, the active pane is toggled between zoomed (occupying the whole of the window) and unzoomed (its normal position in the layout). It's bound to tmux-prefix-z by default on my installation (via Homebrew on OS X).
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix