aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-05-23 20:18:34 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-05-23 20:18:34 +0000
commit24789dafc15545aebe50be398cbd947fde3d4fc2 (patch)
treee252161ef697d3effaffaa687820faa24018993a /chapter06
parent9fd2b20eac416b5f40d9f9054af645a86a476f23 (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/vim.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 5787a793d..7b1b2d7fc 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -98,6 +98,7 @@ the following:</para>
set nocompatible
set backspace=2
syntax on
+set background=dark
" End /etc/vimrc
<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
backspacing over line breaks, autoindents and the start of insert. The
<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
the following command:</para>