Are you typing the title of an article or something else that needs
an uppercase letter at the start of every word?
Do you need to capitalize some text that isn't?
It can be tedious to press the SHIFT key as you enter the text, or to
(You might be wondering why we didn't use
The example above does only the current line. You can add a range of lines after the colon. For example, to edit all lines in the file:
To do the current line and the next five, use:
To make the first character of each word uppercase (with
The command above doesn't convert the back ends of words with hyphens
) or apostrophes (like O'Reilly
) to lowercase.
That's because the
Those commands can be a pain to type. If you use one of them a lot, try putting it in a.