-
-
Save shresthakamal/fdb0258482129c514caf7bd2adbef7ff to your computer and use it in GitHub Desktop.
Tmux Server Commands
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
Show all tmux sessions | |
$ tmux ls | |
Start a new session | |
$ tmux | |
Start a new named session | |
$ tmux new -s <myname> | |
Attach to a named session | |
$ tmux a -t <myname> | |
Kill a session by name | |
$ tmux kill-ses -t <myname> | |
Ctrl+b d Detach from session | |
Ctrl+b s Show all sessions | |
Ctrl+b $ Rename session | |
Ctrl+b ( / ) Previous/Next session | |
Ctrl+b [ Enter copy mode | |
<Space> Start selection | |
Enter Copy selection | |
q Quit copy mode | |
Ctrl+b ] Paste contents of buffer_0 | |
Panes - splits | |
Ctrl+b " / % Split Horiz/Vert | |
Ctrl+b ! Pane -> Window | |
Ctrl+b x Kill pane | |
Ctrl+b <Arrow> Navigate panes | |
Ctrl+b <Space> Toggle layouts | |
Ctrl+b { / } Move to Left/Right | |
Ctrl+b o Goto next panes | |
Ctrl+b z toggle full-screen | |
Ctrl+b ; Toggle Last pane | |
Ctrl+b q Show numbers | |
Ctrl+b q 0...9 Goto # pane | |
Window Tabs | |
Ctrl+b c Create window | |
Ctrl+b p / n Previous/Next window | |
Ctrl+b " / % Split Horiz/Vert | |
Ctrl+b w List window | |
Ctrl+b , Rename window | |
Ctrl+b f Find window | |
Ctrl+b l Last window | |
Ctrl+b . Move window | |
Ctrl+b & Close window | |
Ctrl+b 0...9 Goto # window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment