aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
authorAlexander E. Patrakov <alexander@linuxfromscratch.org>2004-06-10 11:10:55 +0000
committerAlexander E. Patrakov <alexander@linuxfromscratch.org>2004-06-10 11:10:55 +0000
commit354686209b1d8a6733dea9cce96dccb9ee1fabc0 (patch)
tree5f27e25d9dbb38dd73826cc3b328f76f900c66c7 /chapter06/vim.xml
parentb5b61fd61aa2ce4ea3a1d3cb0096fe8210e4bbab (diff)
Fixed the previous commit. Removed the "background" option from /etc/vimrc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3773 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 66f529bdb..18b810d31 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -51,7 +51,8 @@ echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h</userinput><
<para>The optional but highly recommended
<userinput>--enable-multibyte</userinput> switch
includes support for editing files in multibyte character encodings into
-vim. It is needed for those people who ignore our recommendation not to
+<command>vim</command>.
+It is needed for those people who ignore our recommendation not to
use LFS in locales with multibyte character sets. It is also needed for
people who want to be able to edit text files initially created
in Linux distributions like Fedora Core
@@ -104,7 +105,6 @@ the following:</para>
set nocompatible
set backspace=2
syntax on
-set background=dark
set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable>
" End /etc/vimrc
@@ -116,12 +116,12 @@ 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
-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. The <emphasis>set fileencodings=...</emphasis> makes
-<command>vim</command> capable of detecting the character set of the
-file being edited. This is useful because bleeding-edge distributions
+syntax highliting. The <emphasis>set fileencodings=...</emphasis> makes
+<command>vim</command> capable of automatically detecting the character
+set of the file being edited (replace
+"<replaceable>your-8-bit-charset</replaceable>"
+with the value appropriate for your country, e.g. iso-8859-15 in Italy).
+This line is useful because bleeding-edge distributions
like Fedora Core use UTF-8, and conservative ones like Debian
use traditional 8-bit encodings for text files. If you have not
passed the <option>--enable-multibyte</option> switch to the