Skip to content

Instantly share code, notes, and snippets.

@brihter
Created April 21, 2019 18:03
Show Gist options
  • Save brihter/614e57d62c310bdd26cdf4c1efd133b3 to your computer and use it in GitHub Desktop.
Save brihter/614e57d62c310bdd26cdf4c1efd133b3 to your computer and use it in GitHub Desktop.
tmux cheatsheet

tmux

the default modifier key is Ctrl + b

general

tmux ls                      # list sessions
tmux new -s myname           # new session by name
tmux kill-session -t myname  # kill session by name
tmux kill-session -t id      # + by id
tmux a -t myname             # attach to a named session

panes

%  # split vertically
"  # split horizontally
x  # kill
z  # zoom
t  # show time

navigation

left   # move cursor left
right  # move cursor right
up     # move cursor up
down   # move cursor down

sessions

s  # list sessions
$  # name session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment