News for hackers. Stuff that matters.
Re:Ask HN: What is one Vim trick most people don't know? by afarrell on Friday June 29, 2018 @04:26AM (#17423190)
Turning off the ability to enter recording mode. I still occasionally type :Q instead of :q and I’d like that to also quit...or even to just no-op.

Any tips on how to just rip recoding mode completely out of my vim?

Re:Ask HN: What is one Vim trick most people don't know? by IlGrigiore on Friday June 29, 2018 @04:48AM (#17423264)
nnoremap Q <nop>

removes the recording mode and throws a simple error when you use :Q instead of :q

Re:Ask HN: What is one Vim trick most people don't know? by kshvmdn on Saturday June 30, 2018 @11:36PM (#17433931)
command! Q q

will make :Q behave like :q