我只更新到TMUX 1.7,並在手冊頁存在一種使用movew
一個新的選項:-r
它說TMUX 1.7移動窗口
move-window [-rdk] [-s src-window] [-t dst-window] (alias: movew) This is similar to link-window, except the window at src-window is moved to dst-window. With -r, all windows in the session are renumbered in sequential order, respecting the base-index option.
如果我有會話3個窗口:1 2 3我嘗試這個命令從窗口1:
prefix : movew -r -t 4
它給人的錯誤:
session not found: 4
待辦事項esn't這只是移動窗口1至4的窗口,並重新命名的窗口?我並不想將其移動到一個新的會話,只是在同一個新窗口。
非常感謝克里斯。我沒有正確理解手冊頁 - 我認爲這是一個有點混亂,上面說的方式。你的回答非常明確:) – Edouard