1

Using less you can wrap long lines with -S or --chop-long-lines.

Is there any way to indent those wrapped lines?

1
  • To be clear, the chop-long-lines option in less turns OFF line wrapping. As far as I know, this is not possible in less. It is somewhat possible in vim if you do :set showbreak=>>>
    – Matt M
    Commented Feb 14, 2022 at 20:33

1 Answer 1

0

I don't think that such an option exists.

You should rather be using the indent command which will give a much more readable text.

See especially all options relating to "Breaking Long Lines". There is also a section in the man-page with this same name.

1
  • why did not include example? It's anything but easy command and nobody will read 20+ man pages. Commented Jun 18 at 8:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .