> windows
15 commands for tmux windows
// windows
15 commandsstart a new session with the name mysession and window mywindow
$ tmux new -s mysession -n mywindowCreate window
Ctrl + bc
Rename current window
Ctrl + b,
Close current window
Ctrl + b&
Previous window
Ctrl + bp
Next window
Ctrl + bn
Switch/select window by number
Ctrl + b0...9
Toggle last active window
Ctrl + bl
Prompt for a window index to select
Ctrl + b'
Find window by name
Ctrl + bf
Move current window to a specific index
Ctrl + b.
Reorder window, swap window number 2(src) and 1(dst)
: swap-window -s 2 -t 1Move current window to the left by one position
: swap-window -t -1Move window to another session
: move-window -s src_ses:win -t target_ses:winRenumber windows to remove gap in the sequence
: move-window -r