iTerm2: How to expand split pane temporarily?

Solution 1:

To maximize your active panel, just Cmd + Shift + Enter on the screen you want to expand.

Solution 2:

You can maximise and minimise your current panel by using Cmd + Shift + Enter

There are a lot of hot keys to remember and when starting out it can be helpful to print out a cheat sheet or to scan the documentation with find in your browser.

Solution 3:

For me, I cannot find menu section Preferences > Keys > Action > Select Menu Item > View > Maximize Active Pane

My workaround is right clicking on the pane, and select Move Session to Window and maximize that window.

We can then Move Session to Pane to move it back.