Skip to content

Instantly share code, notes, and snippets.

@shaikhul
Last active January 26, 2017 17:45
Show Gist options
  • Save shaikhul/13bc55408b05d44b15ec6aed55161506 to your computer and use it in GitHub Desktop.
Save shaikhul/13bc55408b05d44b15ec6aed55161506 to your computer and use it in GitHub Desktop.
My cheatsheet

Start new session

tmux new -s session_name

Prefix Key - Ctrl+b

Panes (split window)

  • vertical: Ctrl+b %
  • horizontal: Ctrl+b "
  • kill pane: Ctrl+b x

Session management from terminal

  • List: tmux ls
  • Attach: tmux a -t session_name
  • Kill: tmux kill-session -t session_name

Session management (inside a tmux session)

  • Create window: Ctrl+b c
  • List windows: Ctrl+b w
  • Next window: Ctrl+b n
  • Previous window: Ctrl+b p
  • Kill window: Ctrl+b &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment