'tildeop' on: switch case of the text covered by the motion
~{motion}
Example
Normal 0 / 1Normal 1 / 1One TWO
three four
keepCursor on line 1, column 1oNE TWO
three four
keepCursor on line 1, column 1'tildeop' on: switch case of the text covered by the motion.
Command applied
Before & after
One TWO
three four
keepCursor on line 1, column 1oNE TWO
three four
keepCursor on line 1, column 1Start in Normal mode. The key buttons show a concrete motion in place of {motion}. Indentation uses shiftwidth=2. tildeop is on, so ~ waits for a motion.
Details & Vim help
Example replayed in Vim
'tildeop' on: switch case of the text covered by the motion. Use in Normal mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.