Sometimes I accidentally enter vim recording macro mode by pressing 'q' (which I usually exit by pressing q two more times.)
What are the commands to change the key binding to start recording a macro from 'q' to 'Q'?
I can stop q from anything by setting
nnoremap q <Nop>
but I'm not sure how to get "Q" as a shortcut to a macro entry.
You can reassign Q to exit and q without a command in two command lines. For example:
nnoremap Q q nnoremap q <Nop>
I prefer this option - ,q , where , there is a Leader :
,q
,
Leader
noremap <Leader>qq noremap q <Nop>
Q in normal mode performs a standard function, switches to "Ex" mode.
Q