Insert Like a Pro·Lesson 8

Making Small Edits

sxr

Three tiny commands for fixing typos.

xdelete the character under the cursor
rreplace one character, then stay in normal mode
sdelete one character and start inserting

Now it's your turn

  1. Fix each typo with x, r or s.
move · round 1/1000:00keys 0 · ideal –
x

# r or s?

Use r when one character becomes one character; you never leave normal mode. Use s when one character needs to become several.