Collapsing selections
Once a selection has grown, you’ll often want to shrink it back down to a
single character. In Helix, ; collapses the selection onto the cursor.
This works in both normal and select mode, and it’s the answer to a question
Vim users ask early: “how do I get rid of this selection?” Pressing Escape
takes you back to normal mode, but it leaves the selection exactly where it
was. That’s by design — a selection is never in your way, because the next
motion replaces it anyway. When you do want it gone, reach for ;.
A couple of things to remember:
;collapses onto the cursor — the head of the selection, wherever it isvtoggles the mode and;shrinks the selection; they’re independent
Work through the checklist below.