iTerm2: How to expand split pane temporarily?

18,945

Solution 1

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

Solution 2

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.

Solution 3

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.

Share:
18,945
Pratik Khadloya
Author by

Pratik Khadloya

Updated on June 19, 2022

Comments

  • Pratik Khadloya
    Pratik Khadloya about 2 years

    Is there a way to temporarily expand a split pane into full tab and go back again when done? I am looking for a keyboard shortcut to do so. The use case is to be able to temporarily switch to full-screen on demand.

  • alper
    alper over 7 years
    could I change combination of those keys?
  • Qaz
    Qaz over 6 years
    @Alper Go to Preferences > Keys > Action > Select Menu Item > View > Maximize Active Pane and enter a custom shortcut.
  • ManuelSchneid3r
    ManuelSchneid3r over 5 years
    Its not that easy to find. Select Menu Item is an entry in the combobox which reveals an additional combobox on activation.
  • Ashwin
    Ashwin about 5 years
    Maybe things have changed. iTerm2 - 3.2.8 I had to the following for customization Preferences > Keys > '+' (to add a new action) > Under Action select 'Select Menu Item' > Under view you should see 'Maximize active pane' .. So basically "Select Menu item" is the Menu items displayed for iTerm and you can customize any of those .
  • jessepinho
    jessepinho about 3 years
    This. Changes. Everything.
  • miguno
    miguno about 2 years
    Thanks @Ashwin, this saved me a lot of searching!
  • miguno
    miguno about 2 years
    The menu section is different in iTerm2 as of April 2022. An up-to-date answer is in comment stackoverflow.com/questions/13243933/….