Changeset 173aea3


Ignore:
Timestamp:
01/30/2018 06:35:44 PM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, arm, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/lfs-next, xry111/tester-nohack, xry111/usr-move
Children:
869b0966
Parents:
73b3eb9
Message:

Update /etc/vimrc to set defaults properly

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11358 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r73b3eb9 r173aea3  
    4646      <para>2018-01-30</para>
    4747      <itemizedlist>
     48        <listitem>
     49          <para>[bdubbs] - Make /etc/vimrc set defaults properly.</para>
     50        </listitem>
    4851        <listitem revision="systemd">
    4952          <para>[dj] - Update to systemd-237. Fixes
  • chapter06/vim.xml

    r73b3eb9 r173aea3  
    129129<literal>" Begin /etc/vimrc
    130130
     131" Ensure defaults are set before customizing settings, not after
     132source $VIMRUNTIME/defaults.vim
     133let skip_defaults_vim=1
     134
    131135set nocompatible
    132136set backspace=2
    133 set mouse=r
     137set mouse=
    134138syntax on
    135139if (&amp;term == "xterm") || (&amp;term == "putty")
     
    139143
    140144" End /etc/vimrc</literal>
    141 EOF
    142 
    143 touch ~/.vimrc</userinput></screen>
     145EOF</userinput></screen>
    144146
    145147    <para>The <parameter>set nocompatible</parameter> setting makes
     
    149151    setting allows backspacing over line breaks, autoindents, and the start of
    150152    insert. The <parameter>syntax on</parameter> parameter enables vim's syntax
    151     highlighting.  The <parameter>set mouse=r</parameter> setting enables
     153    highlighting.  The <parameter>set mouse=</parameter> setting enables
    152154    proper pasting of text with the mouse when working in chroot or over a
    153155    remote connection.  Finally, the <emphasis>if</emphasis> statement with the
     
    156158    emulators. This gives the highlighting a better color scheme for use on the
    157159    black background of these programs.</para>
    158 
     160<!--
    159161    <para>Creating an empty <filename>~/.vimrc</filename> prevents vim from
    160162    overriding settings in <filename>/etc/vimrc</filename> by using
    161163    <filename>/usr/share/vim/vim80/defaults.vim</filename>.</para>
    162 
     164-->
    163165    <para>Documentation for other available options can be obtained by
    164166    running the following command:</para>
Note: See TracChangeset for help on using the changeset viewer.