Basic Vim
Basic Movement
Move one character or line with h, j, k, and l.
The home-row motions remove the hand travel imposed by arrow keys. Vertical moves retain a preferred column when nearby lines are shorter.
Use h, j, k, and l 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
- h
- Move one character left
- j
- Move one line down
- k
- Move one line up
- l
- Move one character right
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.