I’m back (to blogging) and aroused from my meat coma with some vim wisdom to share (vi-sdom?). Here a handy mapping to make your day better.
Of course you know that
cw (mnemonically “change word”) replaces from the cursor to the end of a word. But changing a part of something in snake_case or CamelCase is a slightly bigger pain in the carpal-T. So may I present
clw, mnemonically “change little word”.
noremap clw c/[_A-Z]
Simplicity itself, no?
Pingback: Having my :vim and M-x emacs-ing it too | MetaSandwich