Skip to content

Instantly share code, notes, and snippets.

@gcollazo
Last active March 27, 2018 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gcollazo/5fed83104b34e365dfe4b051bca317b5 to your computer and use it in GitHub Desktop.
Save gcollazo/5fed83104b34e365dfe4b051bca317b5 to your computer and use it in GitHub Desktop.

tmux cheat sheet

  • tmux -CC attach iTerm to tmux
  • tmux new -A -s <session-name> creates a new named session or attaches to that session if already exists
  • control + b - commands
    • creates a horizontal pane
    • % creates a vertical pane
    • q shows pane numbers, if you hit the number on the keyboard you will change to that pane
    • o moves between panes
    • x kills the current pane, exit command also works
    • d detach from session
    • [ enable scroll back using arrows. Press q to exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment