Bird
0
0

In Vim, which key do you press to exit insert mode and return to normal mode?

easy📝 Conceptual Q2 of 15
Linux CLI - Viewing and Editing Files
In Vim, which key do you press to exit insert mode and return to normal mode?
A<code>Ctrl+Z</code>
B<code>Ctrl+C</code>
C<code>Enter</code>
D<code>Esc</code>
Step-by-Step Solution
Solution:
  1. Step 1: Identify insert mode exit key

    In Vim, pressing Esc exits insert mode and returns to normal mode.
  2. Step 2: Verify other options

    Ctrl+C can interrupt commands but is not the standard way to exit insert mode. Enter inserts a newline. Ctrl+Z suspends Vim.
  3. Final Answer:

    <code>Esc</code> -> Option D
  4. Quick Check:

    Press Esc to leave insert mode [OK]
Quick Trick: Press Esc to leave insert mode [OK]
Common Mistakes:
  • Pressing Enter to exit insert mode
  • Using Ctrl+C instead of Esc
  • Trying Ctrl+Z to quit insert mode

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes