# iTerm2 keyboard shortcuts

[Original EspDesktop guide](https://espdesktop.com/reference/shortcut-presets/iterm2)

![EspDesktop touchscreen on a desk stand beside a Mac keyboard](https://espdesktop.com/images/espdesktop-desk.jpg)

EspDesktop puts iTerm2 keyboard shortcuts on labelled buttons on a touchscreen beside your Mac. Keep those commands within reach while arranging terminal panes and searching output.

## What can I do with it?

Try the split controls in an open terminal window. A Find Text button is useful when you need to locate a command or error in existing output.

Back to layout

Vertical Split

Horizontal Split

Find Text

Open Quickly

Maximise Pane

Open command history

Select next tab

Select previous tab

Example touchscreen buttons for iTerm2

## iTerm2 shortcut reference

| Action | Keys |
| --- | --- |
| Vertical Split | Command + D |
| Horizontal Split | Command + Shift + D |
| Maximise Pane | Command + Shift + Enter |
| Find Text | Command + F |
| Select next tab | Command + Right |
| Select next tab | Command + Shift + \] |
| Select previous tab | Command + Left |
| Select previous tab | Command + Shift + \[ |
| Select tab by 1 | Command + 1 |
| Select tab by 2 | Command + 2 |
| Select tab by 3 | Command + 3 |
| Select tab by 4 | Command + 4 |
| Select tab by 5 | Command + 5 |
| Select tab by 6 | Command + 6 |
| Select tab by 7 | Command + 7 |
| Select tab by 8 | Command + 8 |
| Select tab by 9 | Command + 9 |
| Select window by 1 | Command + Option + 1 |
| Select window by 2 | Command + Option + 2 |
| Select window by 3 | Command + Option + 3 |
| Select window by 4 | Command + Option + 4 |
| Select window by 5 | Command + Option + 5 |
| Select window by 6 | Command + Option + 6 |
| Select window by 7 | Command + Option + 7 |
| Select window by 8 | Command + Option + 8 |
| Select window by 9 | Command + Option + 9 |
| Focus pane by direction Left | Command + Option + Left |
| Focus pane by direction Right | Command + Option + Right |
| Focus pane by direction Up | Command + Option + Up |
| Focus pane by direction Down | Command + Option + Down |
| Focus next recently used pane | Command + \] |
| Focus previous recently used pane | Command + \[ |
| Open Quickly | Command + Shift + O |
| Open command history | Command + Shift + ; |
| Autocomplete from command history | Command + ; |
| Toggle full screen | Command + Enter |

## iTerm2 shortcuts FAQ

### Which iTerm2 keyboard shortcuts should I try first?

Start with **Vertical Split** (**Command + D**), **Horizontal Split** (**Command + Shift + D**) and **Find Text** (**Command + F**). Tapping a button sends its key combination to iTerm2 on your Mac.

### How do I add iTerm2 shortcuts to EspDesktop?

Add an **Applications** card for iTerm2 and choose the shortcuts you want under **App Subpage**. For one button, use a **Key Shortcut** card and pick iTerm2 in the **Application** tab. See [how to add shortcut cards](https://espdesktop.com/mac-controls/shortcuts#create-a-shortcut-card).

### Can I choose which iTerm2 shortcuts appear on the display?

Yes. You can choose and reorder cards in the app subpage. You can also [add a custom keyboard shortcut](https://espdesktop.com/mac-controls/shortcuts#create-a-shortcut-card) for a key combination you use in iTerm2.

### Why is a iTerm2 shortcut not responding?

Try the keys shown in the table on your Mac first, with iTerm2 open and the right window or item selected. If the keys work on your Mac, check [EspDesktop’s Accessibility permission](https://espdesktop.com/mac-controls/shortcuts#allow-accessibility-access).

[Browse all application shortcuts](https://espdesktop.com/reference/shortcut-presets).

[Next · Setup guide](https://espdesktop.com/screens/4848s040#where-to-buy)
