Course Lessons
Free Trial: 5 lessons remaining
Unlock Full Access
Basic Movement with h, j, k, l
Estimated time: 10 minutes
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
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
Move left at least once
j
Move down at least once
k
Move up at least once
l
Move right at least once
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 |
j | Move cursor down |
k | Move cursor up |
l | Move cursor right |
Hints
- h=left, j=down, k=up, l=right
- Don't press 'i' - just use the movement keys
Practice moving around this text with h, j, k, l keys.
The quick brown fox jumps over the lazy dog.
Vim is a powerful text editor.
Learning the basics will make you more efficient.
Practice makes perfect!
Movement keys:
h = move left
j = move down
k = move up
l = move right
Try moving to each corner of this text.
Navigate between words and lines.
Get comfortable with these fundamental keys.