How do I convert selected text to lowercase in visual mode?
Answer
u (in visual mode)
Explanation
In visual mode, pressing u converts all selected text to lowercase. Combined with U for uppercase and ~ for toggle, this gives complete case control.
How it works
- Select text with any visual mode
- Press
uto convert all selected characters to lowercase - The selection is deselected after conversion
Example
HELLO WORLD
Select with V, press u:
hello world
Tips
Uconverts to uppercase in visual mode~toggles case in visual mode- This is useful for fixing accidentally typed uppercase text
- Works with block selections for column-specific case changes