Sample Header Ad - 728x90

nano - soft wrap at 80 characters

3 votes
1 answer
2676 views
I would like nano to soft-wrap at 80 characters. That is, as I keep typing, the text should flow to the next line beyond 80 characters, without nano insert a \n newline at 80 characters. set softwrap set tabsize 4 set tabstospaces set fill 72 However, this inserts a newline after each line, when tested with cat. How do I softwrap and fill simultaneously?
Asked by Karthik Nishanth (133 rep)
Jul 8, 2017, 04:27 PM
Last activity: Jun 27, 2025, 07:00 AM