diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1e9d2b98e..67c9eacdf 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -76,6 +76,9 @@ first a summary, then a detailed log. +June 16, 2004 [alexander]: Removed the fileencodinfs line from +the /etc/vimrc file because of a bug + June 15, 2004 [winkie]: Corrected installation of Readline. diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 87342421a..7b978ffc7 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -105,7 +105,7 @@ the following: set nocompatible set backspace=2 syntax on -set fileencodings=ucs-bom,utf-8,your-8-bit-charset + if (&term == "iterm") || (&term == "putty") set background=dark endif @@ -119,7 +119,11 @@ vi-compatible manner. Remove the "no" if you want the old vi behavior. The set backspace=2 allows backspacing over line breaks, autoindents and the start of insert. The syntax on enables vim's -syntax highliting. The set fileencodings=... makes +syntax highliting. + Finally, the if statement with the set background=dark corrects vim's guess about the background color of some terminal emulators. This gives the diff --git a/general.ent b/general.ent index 45a7db6e8..b0d98acd0 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + +