iTerm2

Configuration

Shell Integration

Shell Integration - Documentation - iTerm2 - macOS Terminal Replacement

  • CMD+Shift+/ : Directory history
You will also have these commands:
imgcat filename
  Displays the image inline.
imgls
  Shows a directory listing with image thumbnails.
it2api
  Command-line utility to manipulate iTerm2.
it2attention start|stop|fireworks
  Gets your attention.
it2check
  Checks if the terminal is iTerm2.
it2copy [filename]
  Copies to the pasteboard.
it2dl filename
  Downloads the specified file, saving it in your Downloads folder.
it2setcolor ...
  Changes individual color settings or loads a color preset.
it2setkeylabel ...
  Changes Touch Bar function key labels.
it2tip
  iTerm2 usage tips
it2ul
  Uploads a file.
it2universion
  Sets the current unicode version.
it2profile
  Change iTerm2 session profile on the fly.

Shortcut

  • Split Panel

    • CMD+D Vertically
    • CMD+Shift+D Horizontally
    • CMD+Shift+Enter Focus on one panel
  • Move Between Panel

    • CMD+[ / CMD+ArrowKey
  • Resize Panel

    • CMD+Control+ArrowKey

Keyboard

  • Cmd+left arrow, Cmd+right arrow navigates among tabs. So does Cmd-{ and Cmd-}.
  • Cmd+number navigates directly to a tab.
  • Cmd+Option+Number navigates directly to a window.
  • Cmd+Option+Arrow keys navigate among split panes.
  • Cmd+] and Cmd+[ navigates among split panes in order of use.