如何使所有分割窗口作为选项卡窗口



如何使所有的vsplit窗口作为制表符窗口?

你可以按CTRL-W然后按T或:wincmd T .

来自文档:

                        *CTRL-W_T*
CTRL-W T    Move the current window to a new tab page.  This fails if
        there is only one window in the current tab page.
        When a count is specified the new tab page will be opened
        before the tab page with this index.  Otherwise it comes after
        the current tab page.

注意,:windo winc T不工作,因为windo将只工作,如果你留在同一个选项卡。但是你可以做:windo wincmd T | tabprevious。(感谢Randy Morris)。

最新更新