Multiple choice

Which of the following is not the cursor movement commands?

  1. n

  2. a

  3. $
  4. j

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In vi editor: 'n' finds next occurrence, 'j' moves down, '$' moves to end of line - all cursor movements. However, 'a' switches to insert mode AFTER current cursor position to append text. It's not a cursor movement command but rather a mode-switching command for text entry.