Cheat Sheet #day25 - iTerm2

Cloud TunedCloud Tuned
3 min read

iTerm2 Cheat Sheet

iTerm2 is a powerful terminal emulator for macOS, providing many features that enhance productivity and make it easier to work with the command line. This cheat sheet covers essential commands, shortcuts, and features of iTerm2.

Basic Operations

  • Open New Window

    • Cmd+N
  • Open New Tab

    • Cmd+T
  • Close Tab

    • Cmd+W
  • Close Window

    • Cmd+Shift+W
  • Split Pane Vertically

    • Cmd+D
  • Split Pane Horizontally

    • Cmd+Shift+D
  • Navigate Panes

    • Cmd+Option+Arrow keys (Switch between panes)

    • Cmd+[ or Cmd+] (Cycle through panes)

  • Navigate Tabs

    • Cmd+Number (1-9) (Jump to specific tab)

    • Cmd+Shift+Left/Right (Move between tabs)

Session Management

  • Search

    • Cmd+F (Open search)

    • Cmd+G (Find next)

    • Cmd+Shift+G (Find previous)

  • Zoom

    • Cmd+Enter (Toggle full-screen mode)

    • Cmd+Shift+Enter (Toggle full-screen for pane)

  • Rename Tab

    • Cmd+I (Open tab info window)

Copy and Paste

  • Copy

    • Cmd+C
  • Paste

    • Cmd+V
  • Paste History

    • Cmd+Shift+H (Open paste history menu)
  • Clear Buffer

    • Cmd+K

Marking and Annotations

  • Set Mark

    • Cmd+Shift+M (Set a mark in the scrollback buffer)
  • Jump to Previous Mark

    • Cmd+Option+Up
  • Jump to Next Mark

    • Cmd+Option+Down

Profile Management

  • Open Preferences

    • Cmd+,
  • Open Profiles Window

    • Cmd+Option+I
  • New Profile from Current Session

    • Cmd+Shift+S

Advanced Features

  • Broadcast Input

    • Cmd+Shift+I (Send input to all panes in a tab)
  • Instant Replay

    • Cmd+Option+B (Open instant replay for the current session)
  • Trigger

    • Cmd+Shift+T (Open triggers window)
  • Toggle Transparency

    • Cmd+U (Toggle transparency)
  • Toggle Focus Mode

    • Cmd+Shift+F (Toggle focus mode to hide distractions)

Navigating and Managing Panes

  • Equalize Panes

    • Cmd+Option+E (Make all panes equal size)
  • Close Current Pane

    • Cmd+Shift+W
  • Reorder Tabs

    • Cmd+Shift+Left/Right (Drag tab to reorder)

Keyboard Shortcuts

  • Find

    • Cmd+F
  • Select Pane by Direction

    • Cmd+Option+Arrow keys
  • Create New Tab with Default Profile

    • Cmd+T
  • Create New Window with Default Profile

    • Cmd+N
  • Duplicate Tab

    • Cmd+D
  • Save Current Window Arrangement

    • Cmd+Shift+S
  • Open Arrangements

    • Cmd+Shift+O
  • Scroll Page Up

    • Cmd+PageUp
  • Scroll Page Down

    • Cmd+PageDown

Miscellaneous

  • Open Man Page in New Tab

    • Cmd+Shift+M
  • Open URL in Browser

    • Cmd+Click on the URL
  • Show/Hide Toolbelt

    • Cmd+Option+T
  • Open/Close Visor

    • Cmd+Option+Space (Toggle Visor window)

Mouse Shortcuts

  • Right-Click

    • Open context menu
  • Cmd+Click

    • Open URL in default browser

This cheat sheet provides a quick reference to some of the most commonly used iTerm2 features and shortcuts. For more detailed information and additional features, refer to the official iTerm2 documentation.

0
Subscribe to my newsletter

Read articles from Cloud Tuned directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Cloud Tuned
Cloud Tuned