Skip to content

Instantly share code, notes, and snippets.

@facine
Forked from jonhattan/tmux.md
Created March 9, 2018 11:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save facine/45350ed541ac7472b79c6f5cd9ecca44 to your computer and use it in GitHub Desktop.
Save facine/45350ed541ac7472b79c6f5cd9ecca44 to your computer and use it in GitHub Desktop.
tmux quickstart

tmux quickstart

$ tmux

CTRL+B C -> create new pane

CTRL+B [num] -> go to a pane

CTRL+D -> finish bash session, closes the pane. Closing all panes will destroy the window and thus the tmux

CTRL+B x -> close pane (in case bash got stalled).

CTRL+B , -> rename a pane

CTRL+B D -> detach from the tmux (the tmux --all windows-- is still alive)

CTRL+B ALTGR+[ -> Enter "copy" mode. Move up/down in the window with cursors or PgUp/PgDown. Press q to quit copy mode.

$ tmux at -> reattach to the previous tmux

$ tmux ls -> list all tmux sessions

More info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment