← Back to Challenges
beginner

Delete a Line

Learn the dd command to delete the current line in vim.

Commands
dd

Delete a Line

Learn the dd command to delete the current line in vim.

Time
0:00
Editor0 keys
1Line 1
2Line 2 (delete this line)
3Line 3
-- NORMAL --delete-a-line
Target
1Line 1
2Line 3
-- NORMAL --delete-a-line
⚠ Guest mode — Sign in to save your progress and score