Step 3 of 5

Changing case

Changing case

Three keys change the case of the selected text:

  • ~ switches the case of every letter — upper becomes lower and lower becomes upper
  • ` (the backtick) makes everything lowercase
  • Alt-` makes everything uppercase

They act on the selection and nothing else, so a bare cursor changes one character, w or e changes a word, and x changes a whole line. The selection stays put afterwards, so if you picked the wrong key you can press another one straight away.

Work through the checklist below: one line for each key.

  1. Switch the case of the first line with ~ Press x to select the line, then ~ — every letter flips.
  2. Lowercase the second line with the backtick key Move down a line, press x to select it, then the backtick key (top left of most keyboards).
  3. Uppercase the third line with Alt and the backtick key Move down a line, press x to select it, then hold Alt (Option on a Mac) and press the backtick key.
Switch the case of the first line with ~ Press x to select the line, then ~ — every letter flips.

Next: Lowercase the second line with the backtick key

Loading editor…