Helix crib sheet

Just in case anyone has started using the Helix text editor, or is thinking about giving it a try: I've just created a crib sheet for the most important and useful keys and commands:

It's mostly for my own benefit, because if a few months pass between bursts of Rust development it's easy to forget some of the rare but powerful actions. But it might be of use to others too.

Let me know if you spot anything incorrect on the page. Oh, and it's meant for viewing on a proper desktop screen, but hopefully the stylesheet will also make it readable even on a narrow mobile screen.

5 Likes

Nice, I find pipe to be useful - e.g. instead of multi-cursor search and replace you can do

:pipe sed s/regex/replaceWith/g

slightly more verbose than in vim where it is built-in.

I've just tried to get that to work by trying a couple of different things, but it just seems to dump the regex and the message "No such file or directory" into the buffer, so I must be missing a trick.

Do you find this pipe approach faster than using the Helix sequence: % then s then regex then replaceWith?

Are you on windows? Because then you don't have sed (unix).

The helix multicursor way works, but it's not an improvement over vi/sed imo - feels like a party trick.