Skip to content

Instantly share code, notes, and snippets.

@EddiG
Last active July 6, 2017 13:17
Show Gist options
  • Save EddiG/f15f7fcb3cb0f68f6d22c6aacd4d7121 to your computer and use it in GitHub Desktop.
Save EddiG/f15f7fcb3cb0f68f6d22c6aacd4d7121 to your computer and use it in GitHub Desktop.

The default prefix is C-b
How to vertical split current pane

<prefix> %

How to horizontal split current pane

<prefix> "

How to resize current pane

<prefix> <arrows>

How to create new window

<prefix> c

How to view all windows

<prefix> w

How to choose window

<prefix> <number>

How to detach from current session

<prefix> d

How to give a name for the new session

tmux new -s <name of session>

How to view all sessions

tmux ls

How to connect to session

tmux a -t <name of session>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment