ConstOptionaloptions: Optional Readonlyafter?: booleanMove to the index after targetWindow, moving later windows up (-a).
Optional Readonlybefore?: falseOptional ReadonlydestroyExisting?: booleanDestroy an existing window at the target index instead of failing (-k).
Optional Readonlydetached?: booleanDo not make the moved window the current window (-d).
Optional Readonlyrenumber?: booleanRenumber windows in the session selected by -s/-t, closing index gaps (-r).
Optional ReadonlysourceWindow?: stringSource window to move (-s).
Optional ReadonlytargetWindow?: stringDestination window/index to move into (-t).
Optional Readonlyafter?: falseOptional Readonlybefore?: booleanMove to the index before targetWindow, moving later windows up (-b).
Optional ReadonlydestroyExisting?: booleanDestroy an existing window at the target index instead of failing (-k).
Optional Readonlydetached?: booleanDo not make the moved window the current window (-d).
Optional Readonlyrenumber?: booleanRenumber windows in the session selected by -s/-t, closing index gaps (-r).
Optional ReadonlysourceWindow?: stringSource window to move (-s).
Optional ReadonlytargetWindow?: stringDestination window/index to move into (-t).
An empty string on success.
Move a window to another index or session (
tmux move-window).