关闭Vim中的下一个窗口
发布时间:2020-12-15 22:20:12 所属栏目:安全 来源:网络整理
导读:由于我有垂直分割,如何在光标位于右侧窗口时关闭左窗口? 我知道我可以用Ctrl-w w进入下一个窗口然后关闭它,但可能有更快的方法. 谢谢 解决方法 :-q或:-q!应该做的工作. 根据:h CTRL-W_q: :q[uit]:{count}q[uit]... If [count] is greater than the las
由于我有垂直分割,如何在光标位于右侧窗口时关闭左窗口?
我知道我可以用Ctrl-w w进入下一个窗口然后关闭它,但可能有更快的方法. 谢谢 解决方法
:-q或:-q!应该做的工作.
根据:h CTRL-W_q: :q[uit] :{count}q[uit] ... If [count] is greater than the last window number the last window will be closed: :1quit " quit the first window :$quit " quit the last window :9quit " quit the last window " if there are less than 9 windows opened :-quit " quit the previews window :+quit " quit the next window :+2quit " quit the second next window 我假设上面的预览窗口应该读取前一个窗口… (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |