Panes

Split the screen into several terminals.

  • Split right⌘D
  • Split down⇧⌘D
  • Split along the longer side⌘↩
  • Split left / up⇧⌘← or ⇧⌘↑
  • Focus pane left⌥⌘←
  • Focus pane right⌥⌘→
  • Focus pane above⌥⌘↑
  • Focus pane below⌥⌘↓
  • Next pane⌘]
  • Previous pane⌘[
  • Move pane (with any arrow)⌥⇧⌘←
  • Zoom pane (toggle)⇧⌘↩
  • Float pane over layout⌥⌘↩
  • Minimize / show floating window⌥⌘M
  • Minimize / show all floating⌥⇧⌘↩
  • Close pane⌘W
  • Reopen last closed pane⇧⌘T
  • Back / forward to previous place⌥⌘[ or ⌥⌘]

Tabs

Several terminals inside one session.

  • New tab⌘T
  • Close tab⌥⌘W
  • Next tab⌃⇥ or ⇧⌘]
  • Previous tab⌃⇧⇥ or ⇧⌘[
  • Go to tab 1 (2–8 likewise)⌘1
  • Go to last tab⌘9
  • Move tab left⌃⇧↑
  • Move tab right⌃⇧↓
  • Mark tab unread / read⌥⌘U
  • Filter tabs⌥⌘F

Sessions & windows

A session is a workspace that survives restarts.

  • Session picker⌘K
  • New session⌘N
  • New session on a host⌥⌘N
  • Tree of sessions, tabs and panes⌘P
  • Refresh session list⌘R
  • New window⇧⌘N
  • Close window⇧⌘W
  • Toggle full screen⌃⌘F

Search & scroll

Find things in the output.

  • Find⌘F
  • Find next⌘G
  • Find previous (while finding)⇧⌘G
  • Copy mode⇧⌘C
  • Preview links in Quick Look⌘Y
  • Previous shell prompt⌘↑
  • Next shell prompt⌘↓
  • Scroll to top⌘Home
  • Scroll to bottom⌘End
  • Scroll up a page⌘PgUp
  • Scroll down a page⌘PgDn

At the prompt

Line editing in the shell.

  • Start of line⌘←
  • End of line⌘→
  • Word left⌥←
  • Word right⌥→
  • Clear the input line⌘⌫
  • Insert a path⌃⌘I

View & app

The window around the terminal.

  • Command palette⇧⌘P
  • Settings⌘,
  • Diagnostics⇧⌘,
  • Toggle sidebar⌘/
  • Toggle activity sidebar⌘.
  • Bigger text⌘=
  • Smaller text⌘-
  • Reset text size⌘0
  • Toggle toolbar layout⇧⌘S
  • Show toolbar briefly⌥⌘T
  • Show pane header briefly⌥⇧⌘T