Want to change case to omit the entire block in visual mode. If I want to change the case of a single character, I can press ~, but what do I need to use in visual mode to change the selected area to low or high case?
~
u
The ~ command also works on a visually selected block.
For example, if you:
v
It changes the case of all selected text.
With active visual selection, press "u" for lowercase, "U" for uppercase.
Without visual mode, use 'gu' or 'gU', with a move command. For example. for the uppercase word "gUw".