I have a habit of pressing q key when vim requires press any keys to continue.
Now, when I press : key to go command mode. Vim go command history because vim had : key in key buffer.
I want to disable q:. Is it possible to disable q:?
It's not possible to disable that feature, but you can disable the key bindings that trigger it. I have this in my .vimrc
nnoremap q: <nop>
nnoremap Q <nop>
and that works very well for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With