Ask HN: CLI Tools to Hard Word Wrap Comments?

https://news.ycombinator.com/item?id=36205279
by tester457 • 3 years ago
1 3 3 years ago

I'm looking for command line tools to hard wrap comments. Ideally something as featured as Rewrap[0], the VsCode extension.

The unix command fold is okay but it's lacking the smart handling of comments that Rewrap has.

Vim and emacs workarounds aren't workable for me because I use Helix.

What do you use to keep your comments hard wrapped?

[0]https://marketplace.visualstudio.com/items?itemName=stkb.rewrap

Related Stories

Loading related stories...

Source preview

news.ycombinator.com