Disable text wrapping in nano

less than 1 minute read

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

  1. add to ~/.nanorc

    set nowrap
  2. open new Terminal

Leave a comment