DEV Community

Ajeeb.K.P
Ajeeb.K.P

Posted on

2 2

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)

Collapse
 
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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more