Configuring nano
Config files
/etc/nanorc, ~/.nanorc
Example Configuration
set autoindent
set const
set fill 72
set historylog
set multibuffer
set nohelp
set regexp
set smooth
set suspend
Another example is in the /usr/share/doc/nano/examples directory in
the nanorc.sample file. It includes color
configurations and has some documentation included in the
comments.