Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTerm2: How to expand split pane temporarily?

Tags:

iterm

People also ask

How do I switch between panes in iTerm2?

iTerm2 allows you to divide a tab into many rectangular "panes", each of which is a different terminal session. The shortcuts cmd-d and cmd-shift-d divide an existing session vertically or horizontally, respectively. You can navigate among split panes with cmd-opt-arrow or cmd-[ and cmd-].

How do I split iTerm Windows?

cmd+shift+D splits the window vertically, and of course, you can mix them up too :) Now, you can have your compass watch up in a corner where you can always see, mean while have another for grep if you need to search for something... in my case, I may have another one runs Meteor/Mrt, etc.

How do you use item 2?

The primary use of the mouse in iTerm2 is to select text, and (by default) text is copied to the clipboard immediately upon being selected. You can click and drag to perform a normal selection. Double-clicking selects a whole word. Triple-clicking selects an entire line.

How do you save iTerm2 commands?

If Preferences>General>Save copy/paste history and command history to disk is enabled, then command history will be preserved across runs of iTerm2 (up to 200 commands per user/hostname).


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


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.


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.