在 Vim 中取消拆分窗口 [英] Cancel split window in Vim
本文介绍了在 Vim 中取消拆分窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已水平拆分窗口.现在我怎样才能回到正常模式,即没有拆分窗口只有一个窗口而不取消所有打开的窗口.我有 5 个,不想退出",只想退出拆分窗口.
I have split my windows horizontally. Now how can I return to normal mode, i.e. no split window just one window without cancelling all of my open windows. I have 5 and do not want to "quit", just want to get out of split window.
推荐答案
按 Control+w,然后按 q 关闭每个窗口一次.
Press Control+w, then hit q to close each window at a time.
更新:还可以考虑 eckes 答案,这可能对您更有用,涉及 :on
(阅读下文),如果您不想在一个窗口执行此操作一段时间.
Update: Also consider eckes answer which may be more useful to you, involving :on
(read below) if you don't want to do it one window at a time.
这篇关于在 Vim 中取消拆分窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文