VimDojo
Lessons
Challenges
Editor Demo
Login
Get Started
← Back to Challenges
intermediate
Time limit: 1:00
Search and Delete Lines
Use search and the dot command to delete all lines containing console.log.
Commands
/
dd
n
.
Search and Delete Lines
Use search and the dot command to delete all lines containing console.log.
Time
0:00
/ 1:00
Editor
0 keys
1
l
et x = 1;
2
console.log("debug x:", x);
3
let y = 2;
4
console.log("debug y:", y);
5
let z = x + y;
6
console.log("debug z:", z);
7
return z;
-- NORMAL --
search-delete-lines
Target
1
let x = 1;
2
let y = 2;
3
let z = x + y;
4
return z;
-- NORMAL --
search-delete-lines
Hints (0/4)
Reset
⚠ Guest mode —
Sign in
to save your progress and score