Deleting a selection
Now that you can make a selection, let’s act on one. The simplest action is
d, which deletes whatever is selected.
To delete something:
- make a selection —
wfor the word after the cursor,xfor the line - press
d
That’s the whole command. There’s no dd or dw in Helix: d only ever
deletes the current selection, so a bare d with no selection removes just
the character under the cursor.
Work through the checklist below. Delete the stray word on the second line,
then clear out every line that starts with EXTRA.