Skip to content

Tmux cheatsheet

Sessions

  • tmux new -s test Create new session
  • tmux attach -t Attach to the session

Windows

  • leader-key + c Create new window
  • leader-key + n Next window
  • leader-key + b Previous window
  • leader-key + number Specific window number
  • leader-key + w List all windows
  • leader-key + , Rename window

Panes

  • leader-key + o Cycle between panes
  • leader-key + q Get a numbered label of each pane
  • leader-key + x Kill pane
  • leader-key + space Change layout of panes