Created
October 26, 2014 13:38
-
-
Save DanielZwijnenburg/9d1bd488f96cc02f7479 to your computer and use it in GitHub Desktop.
tmux cheat sheet
This file contains 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
Split Screen into 2 Panes: Ctrl-b % | |
Split current Pane horizontally into 2 Panes: Ctrl-b " | |
Switch between Panes: Ctrl-b o | |
Create new Window: Ctrl-b c | |
Switch between Windows: Ctrl-b n # next | |
Ctrl-b p # previous | |
Detach from Session: Ctrl-b d | |
Re-attach to a Session: tmux attach -t [session-name] | |
Create a Session: tmux new -s [session-name] | |
Switch between Sessions: tmux switch -t [session-name] | |
Switch between Sessions within Tmux: | |
Ctrl-b ( # previous session | |
Ctrl-b ) # next session | |
Ctrl-b L # ‘last’ (previously used) session | |
Ctrl-b s # choose a session from a list | |
List Sessions: tmux list-sessions | |
List all commands: Ctrl-b ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment