Notes on switching to Helix from vim

Notes on switching to Helix from vim

Julia Evans
@b0rk As an alternative to :reflow you could consider shelling out to par. http://www.nicemice.net/par/ Not sure though if it covers all your formatting needs.
Par 1.53.0 - paragraph reformatter

Source code and documentation for par, a paragraph reformatter vaguely similar to fmt, but better.

@b0rk I played with par and Helix and unfortunately it couldn't deal with bullet and numbered lists (think Vim's :set fo+=n). As I write mostly in Markdown I finally settled on this Helix config:

[keys.normal]
"=" = ":pipe pandoc -f markdown -t markdown --wrap=auto --columns=72

So I can write regular text files, commit messages, etc and select all using % and then press = to have it nicely formatted. There are probably better ways, but this works for me.