Skip to content

Instantly share code, notes, and snippets.

@vml-rmott
Forked from jkuchar/tmux-shortcuts.md
Last active August 9, 2017 18:16
Show Gist options
  • Save vml-rmott/f8dac54a7e953426884ccda37b10bb45 to your computer and use it in GitHub Desktop.
Save vml-rmott/f8dac54a7e953426884ccda37b10bb45 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
s choose sessions interactively
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment