Multiple choice technology operating systems

How do we configure vim editor to automatically add numbers to the file when it opens?

  1. se nu

  2. se bs

  3. se history

  4. se noai

  5. se nonu

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

:se nu in vim enables line numbers (short for set number). bs controls backspace behavior, history is not a standard vim option, noai disables auto-indent, nonu disables line numbers.

AI explanation

In vim, the command :set number (abbreviated :se nu or :set nu) turns on line numbering in the display. :se nonu does the opposite (turns numbers off), and bs/history control backspace behavior and command history size respectively, unrelated to line numbers.