tmux
Basic Commands
tmux
-> start tmuxtmux ls
-> list sessionsCTRL+B then D
-> Detach Sessiontmux attach -t [Session-Name]
-> Reattach Sessiontmux new -s Session1
-> make new sessionCtrl+B D β> Detach from the current session.
Ctrl+B % β> Split the window into two panes horizontally.
Ctrl+B " β> Split the window into two panes vertically.
Ctrl+B Arrow Key --> (Left, Right, Up, Down) β Move between panes.
Ctrl+B X β> Close pane.
Ctrl+B C β> Create a new window.
Ctrl+B N or P β> Move to the next or previous window.
Ctrl+B 0 (1,2...) β> Move to a specific window by number.
Ctrl+B : β> Enter the command line to type commands. Tab completion is available.
Ctrl+B ? β View all keybindings. Press Q to exit.
Ctrl+B W β Open a panel to navigate across windows in multiple sessions.
use the mouse
although the mouse is disabled by default. To enable it, first enter command mode by typing Ctrl+B :, then toggle the mouse on (or off) with the command
set -g mouse
.
Last updated