Vim Recall繁體中文

Lowercase to the line end

gu$

Example

Normal 0 / 2
RED BLUE
Cursor on line 1, column 5

Convert the rest of the line to lowercase.

Before & after
Before
RED BLUE
Cursor on line 1, column 5
After
RED blue
Cursor on line 1, column 5

Start in Normal mode. Cursor starts on B. Press gu$.

Details & Vim help

Example replayed in Vim

Convert the rest of the line to lowercase.

gu applies lowercase conversion over a motion. With $, the range includes the cursor character and the rest of the current line.