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. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.
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 to learn it. Test to prove it.
Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 8 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.