I use these lines in a file .nanorc in my home directory - eg:
/home/deskt0plinux/.nanorc
Code:
set autoindent
set boldtext
set brackets ""')>]}"
set const
set historylog
set matchbrackets "(<[{)>]}"
set mouse
set multibuffer
set regexp
set smarthome
set smooth
set suspend
set tabsize 4
set wordbounds
set softwrap
bind ^S writeout main
...