Created
April 17, 2019 10:30
-
-
Save kolygri/541b806eaf96f29a5fbd07d44724108b to your computer and use it in GitHub Desktop.
Tmux primary commands
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
Start new named session: | |
tmux new -s [session name] | |
Detach from session: | |
ctrl+b d | |
List sessions: | |
tmux ls | |
Attach to named session: | |
tmux a -t [name of session] | |
Kill named session: | |
tmux kill-session -t [name of session] | |
Split panes horizontally: | |
ctrl+b " | |
Split panes vertically: | |
ctrl+b % | |
Kill current pane: | |
ctrl+b x | |
Move to another pane: | |
ctrl+b [arrow key] | |
Cycle through panes: | |
ctrl+b o | |
Cycle just between previous and current pane: | |
ctrl+b ; | |
Kill tmux server, along with all sessions: | |
tmux kill-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment