Line Operations & Search Basics

Clear Line and Insert: S

FREE +20 XP
Task of :
What you need to do:

Press `S` to clear the line and enter Insert mode, then type `return true;` followed by `<Esc>`.

Expected key sequence:

S

⚠️
Attempts: 1 Time: 0s
✓ Excellent! + XP

Concept Explanation & Reference

Uppercase S (substitute line) clears the entire line and drops you straight into Insert mode:

  • S: Clear entire current line and switch to Insert mode (equivalent to cc)