关闭Vim中的下一个窗口

isa*_*sar 4 vim

由于我有垂直分割,如何在光标位于右侧窗口时关闭窗口?我知道我可以进入下一个窗口,Ctrl-w w然后关闭它,但可能有更快的方法.谢谢

Sat*_*ura 8

:-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
Run Code Online (Sandbox Code Playgroud)

我认为previews window上面应该读previous window...