Essential Motions
Moving to Line Ends
Reach column zero, indentation, or the final character directly.
Use 0 for the literal first column, _ for the first non-blank character, and $ for the final character. The distinction matters in indented code.
Use 0, _, and $ in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.
Keys in this lesson
- 0
- Move to column zero, the literal first character
- _
- Move to the first non-blank character of the line
- $
- Move to the last character of the line
Practice against the clock.
The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.