Changeset dbb3c5c


Ignore:
Timestamp:
09/28/2003 02:29:25 AM (19 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/test-20220226
Children:
f27667f
Parents:
c668bd4
Message:

nano config update

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1228 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
postlfs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/vimrc.xml

    rc668bd4 rdbb3c5c  
    3434<screen>" Begin .vimrc
    3535
    36 set nocompatible
    3736set bs=2
    38 set columns=80
     37set columns=72
    3938set background=dark
    40 set tabstop=8
    41 set wrapmargin=8
    42 set nobk
    4339syntax on
    4440set ruler
    45 set noexpandtab
    4641
    4742" End .vimrc</screen>
     
    5550options in this example file means here:</para>
    5651<itemizedlist>
    57 <listitem><para><userinput>set nocompatible</userinput> : This option
    58 stops <command>vim</command> from behaving in a strongly <command>vi
    59 </command>-compatible way.  It should be at the start of any <filename>vimrc
    60 </filename> file as it can affect lots of other options which you may want to
    61 override.</para></listitem>
    6252
    6353<listitem><para><userinput>set bs=2</userinput> : This influences the behavior
     
    6555</userinput> for more details.</para></listitem>
    6656
    67 <listitem><para><userinput>set columns=80</userinput> : This simply sets the
     57<listitem><para><userinput>set columns=72</userinput> : This simply sets the
    6858number of columns used on the screen.</para></listitem>
    6959
     
    7161<command>vim</command> to use colors which look good on a dark
    7262background.</para></listitem>
    73 
    74 <listitem><para><userinput>set tabstop=8</userinput> : The number of spaces
    75 which a tabstop takes.</para></listitem>
    76 
    77 <listitem><para><userinput>set wrapmargin=8</userinput> : This is the number of
    78 characters from the right window  border where wrapping starts.</para>
    79 </listitem>
    80 
    81 <listitem><para><userinput>set nobk</userinput> : This stops <command>vim
    82 </command> from creating a backup before overwriting a file.</para></listitem>
    8363
    8464<listitem><para><userinput>syntax on</userinput> : Enables
     
    8969the screen.</para></listitem>
    9070
    91 <listitem><para><userinput>set noexpandtab</userinput> : This makes
    92 <command>vim</command> insert tabs as tab characters instead of as a set of
    93 spaces.</para></listitem>
    9471
    9572</itemizedlist>
  • postlfs/editors/nano/nano-config.xml

    rc668bd4 rdbb3c5c  
    44<sect3><title>Config files</title>
    55<para><filename>/etc/nanorc</filename>, <filename>~/.nanorc</filename></para>
     6
     7<para>Example Configuration</para>
     8
     9<screen><userinput>set autoindent
     10set const
     11set fill 72
     12set historylog
     13set multibuffer
     14set nohelp
     15set regexp
     16set smooth
     17set suspend</userinput></screen>
     18
     19<para>Another example is in the source directory in the
     20<filename>nanorc.sample</filename> file.  It includes color
     21configurations and has some documentation included in the
     22comments.</para>
    623</sect3>
    7 
    824</sect2>
Note: See TracChangeset for help on using the changeset viewer.