ソースを参照

Added a set background=dark option to vim's configuration - makes it look MUCH better on the dark background of a linux console screen

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3702 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 21 年 前
コミット
24789dafc1
2 ファイル変更8 行追加1 行削除
  1. 3 0
      chapter01/changelog.xml
  2. 5 1
      chapter06/vim.xml

+ 3 - 0
chapter01/changelog.xml

@@ -102,6 +102,9 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </itemizedlist>
 </listitem>
 </listitem>
 
 
+<listitem><para>May 23, 2004 [jeremy]: Chapter 6 - Vim - added an option to the
+vimrc config file</para></listitem>
+
 <listitem><para>May 23th, 2004 [alexander]: Don't list the initscript in the
 <listitem><para>May 23th, 2004 [alexander]: Don't list the initscript in the
 contents of the Hotplug package. The reason is that we use winkie's
 contents of the Hotplug package. The reason is that we use winkie's
 replacement script from LFS-Bootscripts.</para></listitem>
 replacement script from LFS-Bootscripts.</para></listitem>

+ 5 - 1
chapter06/vim.xml

@@ -98,6 +98,7 @@ the following:</para>
 set nocompatible
 set nocompatible
 set backspace=2
 set backspace=2
 syntax on
 syntax on
+set background=dark
 
 
 " End /etc/vimrc
 " End /etc/vimrc
 <userinput>EOF</userinput></screen>
 <userinput>EOF</userinput></screen>
@@ -108,7 +109,10 @@ vi-compatible manner. Remove the "no" if you want the old <command>vi</command>
 behavior. The <emphasis>set backspace=2</emphasis> allows
 behavior. The <emphasis>set backspace=2</emphasis> allows
 backspacing over line breaks, autoindents and the start of insert. The
 backspacing over line breaks, autoindents and the start of insert. The
 <emphasis>syntax on</emphasis> enables <command>vim</command>'s
 <emphasis>syntax on</emphasis> enables <command>vim</command>'s
-semantic coloring.</para>
+syntax highliting, while <emphasis>set background=dark</emphasis> gives the
+highliting a better color scheme for use on the black background of a linux
+console.  If you later use X and terminals with a light background, changing
+this will be useful.</para>
 
 
 <para>Documentation for other available options can be obtained by running
 <para>Documentation for other available options can be obtained by running
 the following command:</para>
 the following command:</para>