gpt4 book ai didi

vim - 如何将所有 vssplitted 窗口设为选项卡窗口?

转载 作者:行者123 更新时间:2023-12-04 13:45:41 25 4
gpt4 key购买 nike

如何让所有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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com