I frequently end up with more than ten windows in tmux. Later on, I close some of my older ones. Is there a way to renumber, say window 15, to window 3 (which doesn't exist anymore)? Or to
pack them all up again, so that there are no empty slots? I'd like to do this because it is difficult to jump to higher numbered windows, because you can't do
Ctrl+B, 15. I have to use
Ctrl+B, w to list the windows and then type the letter corresponding to the window I want to open.
I know that I can swap windows. For example, I could create a new window (
Ctrl+B, c) which would open in the empty slot 3. I can then
swapw window 15 and window 3 and then close window 15. Obviously, this is a tedious approach.
How do you manage many windows in tmux?