Vim lessons
Practice
Beginner
10 min
HJKL Navigation Challenge
Task Instructions
Master the fundamental HJKL movement keys through a fun navigation challenge
Start at the 'S' character and navigate to the 'E' character using only h (left), j (down), k (up), and l (right). Avoid the walls marked with # characters. This exercise builds spatial awareness and movement precision.
Learning objectives
- Perfect your HJKL navigation skills
- Develop muscle memory through repetition
- Learn to navigate without thinking
Required keystrokes
Your submission is checked for these keystrokes, not just the final text — so reach for the technique, not a workaround.
- h Use h to move left
- j Use j to move down
- k Use k to move up
- l Use l to move right
Helpful commands
- h
- Move cursor left one character
- j
- Move cursor down one line
- k
- Move cursor up one line
- l
- Move cursor right one character
Stuck? Peek at a hint 3 hints · try it on your own first
- Take your time - accuracy is more important than speed
- Plan your route before moving
- Remember: h=left, j=down, k=up, l=right
" Read the task on the left.
" A live Vim editor opens right here.
" Finish the edits, then submit.
~
~
NORMAL