Skip to content
Vim Learn
Learn/

Basic Movement

02 / 51

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. The challenge proves it once; Practice is a timed run against the clock.

Keys in this lesson

h
Move one character left
j
Move one line down
k
Move one line up
l
Move one character right
All 91 keys →

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.

khhhhhhh

Move left and up to the beginning of “alpha”.