Changeset 8557cab


Ignore:
Timestamp:
12/31/2016 05:46:32 PM (5 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, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 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, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
512c848
Parents:
9742edf
Message:

Tweak the vimrc configuration file

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/vim.xml

    r9742edf r8557cab  
    120120set nocompatible
    121121set backspace=2
     122set mouse=r
    122123syntax on
    123124if (&amp;term == "iterm") || (&amp;term == "putty")
     
    125126endif
    126127
     128
    127129" End /etc/vimrc</literal>
    128130EOF</userinput></screen>
    129131
    130132    <para>The <parameter>set nocompatible</parameter> setting makes
    131     <command>vim</command> behave in a more useful way (the default) than
    132     the vi-compatible manner. Remove the <quote>no</quote> to keep the
    133     old <command>vi</command> behavior. The <parameter>set
    134     backspace=2</parameter> setting allows backspacing over line breaks,
    135     autoindents, and the start of insert. The <parameter>syntax
    136     on</parameter> parameter enables vim's syntax highlighting. Finally,
    137     the <emphasis>if</emphasis> statement with the <parameter>set
    138     background=dark</parameter> setting corrects <command>vim</command>'s
    139     guess about the background color of some terminal emulators. This
    140     gives the highlighting a better color scheme for use on the black
    141     background of these programs.</para>
     133    <command>vim</command> behave in a more useful way (the default) than the
     134    vi-compatible manner. Remove the <quote>no</quote> to keep the old
     135    <command>vi</command> behavior. The <parameter>set backspace=2</parameter>
     136    setting allows backspacing over line breaks, autoindents, and the start of
     137    insert. The <parameter>syntax on</parameter> parameter enables vim's syntax
     138    highlighting.  The <parameter>set mouse=r</parameter> setting enables
     139    proper pasting of text with the mouse when working in chroot or over a
     140    remote connection.  Finally, the <emphasis>if</emphasis> statement with the
     141    <parameter>set background=dark</parameter> setting corrects
     142    <command>vim</command>'s guess about the background color of some terminal
     143    emulators. This gives the highlighting a better color scheme for use on the
     144    black background of these programs.</para>
    142145
    143146    <para>Documentation for other available options can be obtained by
Note: See TracChangeset for help on using the changeset viewer.