You are using vi to edit a file in insert mode. You try to use the BACKSPACE key to delete a word. The editor does not respond. Which of the following could be the cause?
  1. You need to switch to normal mode.
  2. You need to switch to replace mode.
  3. You need to switch to command mode.
  4. The BACKSPACE key does not work in the vi editor.
Explanation
Answer - D - You are not able to delete a word using the BACKSPACE key because the BACKSPACE key does not work in the vi editor.

Key Takeaway: By default, vi does not support the BACKSPACE key in insert mode. It could erase only the characters entered in this instance of insert mode. To erase previously-entered characters in insert mode using the backspace key, use the: set backspace=indent,eol,start command.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz