2003-09-07 22:14:01 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Configuring nano</title>
|
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
|
|
|
<para><filename>/etc/nanorc</filename>, <filename>~/.nanorc</filename></para>
|
|
|
|
|
2003-09-28 10:29:25 +08:00
|
|
|
<para>Example Configuration</para>
|
|
|
|
|
|
|
|
<screen><userinput>set autoindent
|
|
|
|
set const
|
|
|
|
set fill 72
|
|
|
|
set historylog
|
|
|
|
set multibuffer
|
|
|
|
set nohelp
|
|
|
|
set regexp
|
|
|
|
set smooth
|
|
|
|
set suspend</userinput></screen>
|
|
|
|
|
2003-09-28 13:15:52 +08:00
|
|
|
<para>Another example is in the <filename
|
|
|
|
class="directory">/usr/share/doc/nano/examples</filename> directory in
|
|
|
|
the <filename>nanorc.sample</filename> file. It includes color
|
2003-09-28 10:29:25 +08:00
|
|
|
configurations and has some documentation included in the
|
|
|
|
comments.</para>
|
|
|
|
</sect3>
|
2003-09-07 22:14:01 +08:00
|
|
|
</sect2>
|