Step 4 of 5

Helix gives you a language for editing text

Helix gives you a language for editing text

Helix has a language of its own built out of composable commands. Those who speak fluent Helix can precisely describe the action they want to carry out on their text.

Helix’s grammar is selection → action: you first select the text you care about, see exactly what you’ve selected, and then say what to do with it. These are the kinds of things you can tell Helix to do:

  • “Select this word, then delete it”
  • “Select the whole paragraph, then comment it out”
  • “Select everything inside these quotation marks, then make it uppercase”
  • “Select every line matching foo, then edit all of them at once”

That last one is where Helix shines: a selection can hold multiple cursors, so one edit lands in fifty places at the same time.

In other editors these actions (if they’re even possible) hide behind chorded shortcuts like ctrl+shift+a — hard to remember, and sometimes hard to type. The beauty of Helix is that, once you know the core language, you can describe edits like these without having to learn new, obscure shortcuts. And because you see each selection before acting on it, there are no surprises.

Loading editor…