I went one step further and did this:
(bind-keys
:map global-map
(“C-" . gpolonkai/toggle-char-case))
(C-~ is easy enough to access on my keyboard to actually use it, but hard enough so i don’t use it accidentally).
– GergelyPolonkai 2025-12-03 09:18 UTC
> M-c ... doesn’t work, since capitalizing whereIn changes it to > Wherein, not WhereIn.
If you use subword-mode then the “In” of “whereIn” is treated
as a separate word, and so capitalize-word doesn’t alter it.
(I’ve used this for so long that it took me a moment to realise
why M-c hadn’t worked for you 
– Anonymous 2025-12-12 02:00 UTC