Uppercase a word and its space
gUaw
Example
Normal 0 / 2Operator pending 1 / 2Normal 2 / 2one TwoCursor on line 1, column 2one TwoCursor on line 1, column 2ONE TwoCursor on line 1, column 1Uppercase a word and its space.
Waiting for motion or text object
Uppercase a word and its space
Before & after
one TwoCursor on line 1, column 2ONE TwoCursor on line 1, column 1Start 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.