You can change/invert the case of characters using `~`, `g~`, `gu` and `gU` commands. You can also add a count prefix as needed. Except `~`, the other three are operators requiring motion to indicate the characters to change.
This video is based on my "Vim Reference Guide" ebook: https://github.com/learnbyexample/vim...