I get the following 10X times a day by accident.
Entering Ex mode. Type "visual" to go to Normal mode.
How can you disable the combo which causes it in Vim?
I get the following 10X times a day by accident.
Entering Ex mode. Type "visual" to go to Normal mode.
How can you disable the combo which causes it in Vim?
The "combo" is Q. To disable it, simply map Q to something else:
:map Q <whatever>
I use gq, which is used to format text.
If you don't want it do do anything map it to <Nop>:
:map Q <Nop>
If you don't want to map it to something else, just use :unmap. If you do have something else in mind, :map will work - take a look at the help pages to see the variations to specify what modes the map will be used in.
<Nop> is meant for use in mapping keys to "nothing". See :h <Nop>.
:map Q <Nop>