Skip to content

Instantly share code, notes, and snippets.

@marcdel
Last active December 18, 2015 21:18
Show Gist options
  • Save marcdel/5845959 to your computer and use it in GitHub Desktop.
Save marcdel/5845959 to your computer and use it in GitHub Desktop.
Creating Sessions
tmux new - new unnamed session
tmux new -s session_name - new named session
tmux new -s session_name -n window_name - new named session with named window
tmux ls - list all running sessions
tmux attach -t session_name - reattaches to named session
tmux kill-session -t session_name - kills a named session
Ctrl+a d - detaches from current session
Ctrl+a : - command mode
Ctrl+a c - new window
Ctrl+a 0...9 - select an open window
Ctrl+a w - list open windows
Ctrl+a , - rename current window
Ctrl+a & - close current window
Ctrl+a % - vertical split
Ctrl+a " - horizontal split
Ctrl+a o - cycle through open splits
Ctrl+a q - display split numbers
Ctrl+a x - close current split
Ctrl+a space - cycle through default split layoutsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment