Vim Recall繁體中文

Uppercase a word and its space

gUaw

Example

Normal 0 / 2
one Two
Cursor on line 1, column 2

Uppercase a word and its space.

Before & after
Before
one Two
Cursor on line 1, column 2
After
ONE Two
Cursor on line 1, column 1

Start in Normal mode, at line 1, column 2 (one-based). A two-character operator followed by a text object applies the transformation to that object. Press gUaw.

Details & Vim help

Example replayed in Vim

A two-character operator followed by a text object applies the transformation to that object.