Optional: numeric changes
The technique
Ctrl-a finds the first number at or after the cursor, so you do not have to move onto it first.
Keys in this lesson
- Ctrl-a
- Add one to the number at or after the cursor.
- Ctrl-x
- Subtract one.
- 3Ctrl-a
- Add three.
Before this lesson: Counts and recovery.
More about this lesson
Add to or subtract from a number without changing the numbers near it.
Ctrl-a adds one to the number at or after the cursor on the line, and Ctrl-x subtracts one. It finds the number by itself, so you don't have to move onto it first. A count changes the amount, so 30 Ctrl-x takes 30 off. These exercises use plain whole numbers, because numbers like 0x1f follow their own rules. Check which number comes first on the line before you press it.
Example
From 7, Ctrl-a gives 8 and 3Ctrl-a gives 10. You never have to type the new number.
Use Start over to try again.
Guides on this topic
Exercise 1 of 3
0keys
par 1Card payments that fail get a few more tries. Give them one more attempt.