I am (manually) moving this question to SO
from superuser
because I observed there is a tmux
tag here, and I believe it is a sufficiently unusual question that the power users of tmux
on SO
might better be able to address it.
Suppose I have 5
windows, and I decide to delete window 1
.
Is it possible to shift all the window numbers down by 1
with a single command, so that 2
becomes 1
, 3
becomes 2
, 4
becomes 3
, and 0
stays where it is?
The above is merely an example. I am wondering if it can be done for an arbitrary number of windows, and an arbitrary number of "missing" windows.
I have looked at this question and it certainly makes things easier, but it does not address the current question.