Disable text wrapping in nano, especially for Cygwin

Word wrapping in nano text editor can make scripts and files fail to run/parse properly. This is especially a problem with nano in Cygwin.

Disable text wrap in nano

Execute this one-time command in Terminal:

echo "set nowrap" >> ~/.nanorc

Tags:

Categories:

Updated: