Tmux Zoom

Advertisement

Your Ad could be here. I want to connect my readers to relavant ads. If you have a product targeted at developers, let's talk. [email protected]

Zooming into the current split in tmux is a valuable tool to give yourself some screen real estate. These days I am almost always presenting, streaming, or pairing up with a co-worker over a video call. Since I am always sharing my screen I am generally zoomed in to a level that is just a bit uncomfortable, so anytime I make a split it is really uncomfortable, being able to zoom into the split I am focused on is a big help, and also help anyone watching follow where I am currently working.

Default key bindings for zooming the current split


bind-key          z resize-pane -Z

I have rebound this to match the default binding with mod+z rather so that I get that single keystroke experience.


bind -n M-z resize-pane -Z

https://waylonwalker.com/tmux-nav-2021/

for more information on how I navigate tmux, check out this full post