Skip to content

Instantly share code, notes, and snippets.

@jkuchar
Last active August 9, 2017 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jkuchar/5eaa9232b5a2f84716c3f1aa9418bdf7 to your computer and use it in GitHub Desktop.
Save jkuchar/5eaa9232b5a2f84716c3f1aa9418bdf7 to your computer and use it in GitHub Desktop.
TMUX for dummies

TMUX

Start it using

command what it does?
tmux Starts new tmux session
tmux attach attaches to last openned tmux session

When it is running

key description
CTRL+B enter tmux command mode (needs to be pressed before every other command)
CTRL+B [ enter copy mode
CTRL+B PageUp enter copy mode + page up

Window

key description
c new window
w choose windows interactively
0..9 quick select windows 0..9

Close windows by simply writing "exit" into the window bash.

Sessions

key description
( Switch the attached client to the previous session.
) Switch the attached client to the next session.
D choose client to detach
d detach current client

TODO: interactive selection of sessions?

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