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.

Free Trial: 4 lessons remaining
Unlock Full Access
Practice Beginner 10 min

Basic Movement with h, j, k, l

Vim Basics & Movement

Task Instructions

Learn the fundamental h, j, k, l movement keys in Vim

Practice using h (left), j (down), k (up), and l (right) to move the cursor around the text.

Learning objectives

  • Master the h, j, k, l movement keys
  • Build muscle memory for basic navigation
  • Understand directional movement in Vim

Required keystrokes

Your submission is checked for these keystrokes, not just the final text — so reach for the technique, not a workaround.

  • h Move left at least once
  • j Move down at least once
  • k Move up at least once
  • l Move right at least once

Helpful commands

h
Move cursor left
j
Move cursor down
k
Move cursor up
l
Move cursor right
Stuck? Peek at a hint 2 hints · try it on your own first
  • h=left, j=down, k=up, l=right
  • Don't press 'i' - just use the movement keys
basic-movement-with-h-j-k-l.txt

1" Read the task on the left.

2" A live Vim editor opens right here.

3" Finish the edits, then submit.

~

~

NORMAL 1,1   All

Ready to practice?

Take your time with the task — start whenever you're set.

Start Lesson