DEV Community


Posted on

Vim - changing lowercase to uppercase

The Trick

Select a region, ie. visual block. Type v, then use navigation to select a block.

gu to make it lower.
gU to make it upper.

Top comments (1)

scriptmunkee profile image
Ken Simeon

You can also change 1 character at a time by using Shift+~ over the letter the curser is currently highlighting.