Screen Too Small

This course material requires a larger screen to properly display the terminal and editor interfaces.

Please use a tablet, laptop, or desktop computer for the best learning experience.

You can continue browsing, but the experience will be significantly limited.

HJKL Navigation Challenge

Estimated time: 10 minutes

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

This lesson requires you to use specific keystrokes to complete it. Your submission will be evaluated based on whether you used the required keystrokes mentioned below, rather than matching a specific output.

h
Use h to move left
j
Use j to move down
k
Use k to move up
l
Use l to move right

What This Means

  • Your solution must include the required keystroke patterns
  • The order of keystrokes may matter depending on the exercise
  • You'll still need to achieve the expected output
  • This helps you practice specific Vim techniques

Helpful commands:

Command Description
h Move cursor left one character
j Move cursor down one line
k Move cursor up one line
l Move cursor right one character

Hints

  • Take your time - accuracy is more important than speed
  • Plan your route before moving
  • Remember: h=left, j=down, k=up, l=right

Ready for Vim?

Before starting this lesson, be prepared.

Read the directions on the left, and when you're ready, let's go!