Difficulty: Easy
Correct Answer: b
Explanation:
Introduction / Context:
Efficient navigation in vi/Vim relies on motion commands for word-wise movement. Knowing how to jump to the start or end of words without leaving normal mode dramatically speeds up editing tasks, especially for code and configuration files.
Given Data / Assumptions:
Concept / Approach:
In vi, w moves forward to the start of the next word, e moves forward to the end of the current/next word, and b moves backward to the beginning of the previous word. Uppercase motions (e.g., W, E, B) treat whitespace-delimited WORDs. For the requested backward-to-beginning motion, b is correct.
Step-by-Step Solution:
Verification / Alternative check:
Test with a sample line and compare behaviors of w, e, and b. Observe that only b navigates backward to the word start.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
b.
Discussion & Comments