As title. I usually mistyped <C-w>
into <C-w><C-q>
and it close the window I was working on. That is really annoying... I have tried mapping this keymap into <nop>
but it didn't work as expected:
- When I typed
<C-w><C-q>
very fast, then indeed nothing happened, as expected. - But when I typed
<C-w>
and delayed the<C-q>
, it still closed the window I was on.
Does anyone know what happened in my case? The same argument holds for <C-w>q
too.
ü^DW
to^W
and the mapping fail to catch the code^W^Q
.<80>ü^DW
instead ofü^DW
(gVim):h 'timeoutlen
?<C-q>
itself should not close the window. In fact<C-q>
is default to enterV-Block
mode.