tmux cheat sheet
(C‑x means ctrl+x, M‑x means alt+x)
Prefix key
The default prefix is C‑b. If you (or your muscle memory) prefer C‑a, you need to add this to
:
~/.tmux.conf
# remap prefix to Control + a
set ‐g prefix C‐a
# bind 'C‐a C‐a' to type 'C‐a'
bind C‐a send‐prefix
unbind C‐b
I'm going to assume that C‑a is your prefix.
Sessions, windows, panes
Session is a set of windows, plus a notion of which window is current.
Window is a single screen covered with panes. (Once might compare it to a ‘virtual desktop’ or a ‘space’.)
Pane is a rectangular part of a window that runs a specific command, e.g. a shell.
Getting help
Display a list of keyboard shortcuts: