Mightty

First steps

Mightty opens a window running your login shell. This page lists the keys you'll use most often. Every action is also available from the menus and from the command palette (⌘⇧P), and you can change any key in the key bindings.

Tabs and windows

KeyAction
⌘TOpen a tab in the current folder.
⌘NOpen a window in the current folder.
⌘1 to ⌘8Go to the tab in that position. ⌘9 goes to the last tab.
⌘⇧[ ⌘⇧]Go to the previous or next tab.
⌘WClose the pane.
⌘⇧WClose the window.
⌘ZBring back what you just closed.
⌘⇧TReopen the last closed tab, pane or window.

⌘Z works for 5 seconds after you close something, and restores it with its programs still running. After that, ⌘⇧T reopens it with new shells. Tabs and windows covers both in more detail.

Splits

KeyAction
⌘DSplit the pane to the right.
⌘⇧DSplit the pane downwards.
⌘[ ⌘]Go to the previous or next pane.
⌘⌥ + arrowGo to the pane in that direction.
⌘⌃ + arrowMove the divider.
⌘⌃=Make all panes the same size. Double-clicking a divider does the same.
⌘⇧↩Zoom the pane to fill the window. Press it again to restore the layout.

Search and selection

KeyAction
⌘FSearch the pane, including its scrollback.
⌘G ⌘⇧GGo to the next or previous match.
⌘KClear the scrollback and the screen above the prompt.

To select text, drag over it. Double-click selects a word and triple-click selects a line. Hold ⌥ while dragging to select a rectangle. Dragging past the top or bottom edge of the pane scrolls it.

Hold ⌘ over a link to see where it goes, and ⌘-click to open it.

Text size

KeyAction
⌘= ⌘-Make the text larger or smaller.
⌘0Return to the configured size.

Where to go next