Do you find yourself opening terminals and first resizing and arranging them before starting your commands? In this article we look at some helpful shortcuts for arranging one or multiple terminal windows with iTerm2. Personalise your terminal arrangement.

For the full documentation on iTerm2 take a look at the documentation here. Other handy command line blogs are found here.

Multiple windows

Personally I want to get 2 windows side to side on startup of the terminal. The easiest way to enable this is to setup the arrangement you want manually and then press ⌘⇧S to save the terminal arrangement. They can then be found in the preferences:

arrangements tab - TERMINAL ARRANGEMENT

NOTE: Also the current directories are saved with the arrangement.

Here you can also specify the default arrangement, which is started when openening the iTerm2 (if not configured otherwise). Another way is to press ⌘⇧R to open a fresh replica of this window arrangement.

Switching between different terminal windows can be done with ⌥⌘2 or generally with ⌥⌘<window number>. On creation iTerm2 assigns a number to each window which is displayed at the top right corner.

extra tab example iterm2 - TERMINAL ARRANGEMENT

Controlling one window

When working in a terminal you might want to dismiss the terminal without closing it. You can minimelise the window with m.

If you on the other hand want to have a closer look, e.g. you want a wider window to analyse logs, you can go full screen with ⇧M. The same combination takes the window back to the previous size.

Hopefully you are now faster setup to fire all your commands into the terminal. Happy arranging!