Created
March 15, 2016 06:05
-
-
Save justinwalz/7d9468eaf73e93fe4ffe to your computer and use it in GitHub Desktop.
tmux cheat sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################### | |
Sessions | |
# list sessions | |
tmux ls | |
# new session | |
tmux new -s <foo> | |
# new session with name | |
tmux new -s <foo> -n <shell> | |
# attach to session by name (or number) | |
tmux attach -t <foo> | |
tmux a -t <foo> | |
# kill | |
tmux kill-session -t basic | |
####################################### | |
Windows | |
# create windows | |
PRE C - create new window | |
PRE , - rename a window | |
# find windows | |
PRE n - next window | |
PRE p - previous window | |
PRE w - choose window | |
PRE f - find window by name | |
####################################### | |
Panes | |
PRE " - split horz | |
PRE % - split vert | |
PRE o - cycle | |
PRE <arrow> - cycle direction | |
PRE SPACE - switch layouts | |
PRE x - kill pane | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment