如何让所有vssplitted窗口成为tab窗口?
最佳答案
你可以先按 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)。
关于vim - 如何将所有 vssplitted 窗口设为选项卡窗口?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7913858/