Ignore:
Timestamp:
09/28/2003 02:29:25 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f27667f
Parents:
c668bd4
Message:

nano config update

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

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.