How do I reorder tmux windows?
Problem
In , I can just type to move a window to the top of the window list and push all the other windows down one. What's the equivalent command sequence for ? I looked at the man page, but I'm finding it confusing on this point.
Error Output
screen
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How do I reorder tmux windows?
The command is closest to what you want. "Prefix :" (that is Ctrl+B, : by default) brings you to the tmux-command prompt. There you enter: to let window number 3 and window number 1 swap their positions. To swap the current window with the top window, do: In the unlikely case of having no window at index 0, do: (if base-index is 0, as it is by default). Command is by default bound to Ctrl+B, .. You can bind that command to a key (T for "top" for example) by adding the following to your :
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix