In Nano, when my text hits the end of the window, it starts a new line instead of continuing on the line I'm writing in. How can I change this?
Example:
This is a test, writing
next line
This is what I want:
This is a test, writing $next line
In Nano, when my text hits the end of the window, it starts a new line instead of continuing on the line I'm writing in. How can I change this?
Example:
This is a test, writing
next line
This is what I want:
This is a test, writing $next line
To disable line-wrapping permanently you can add set nowrap
in your ~/.nanorc
file.
Alt
, then $
(Shift + 4).
-w
or --nowrap
(e.g. nano -w filename
).