diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 346e73029..917d3da58 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -119,26 +119,29 @@ done
set nocompatible
set backspace=2
+set mouse=r
syntax on
if (&term == "iterm") || (&term == "putty")
set background=dark
endif
+
" End /etc/vimrc
EOF
The set nocompatible setting makes
- vim behave in a more useful way (the default) than
- the vi-compatible manner. Remove the no
to keep the
- old vi behavior. The set
- backspace=2 setting allows backspacing over line breaks,
- autoindents, and the start of insert. The syntax
- on parameter enables vim's syntax highlighting. Finally,
- the if statement with the set
- background=dark setting corrects vim's
- guess about the background color of some terminal emulators. This
- gives the highlighting a better color scheme for use on the black
- background of these programs.
+ vim behave in a more useful way (the default) than the
+ vi-compatible manner. Remove the no
to keep the old
+ vi behavior. The set backspace=2
+ setting allows backspacing over line breaks, autoindents, and the start of
+ insert. The syntax on parameter enables vim's syntax
+ highlighting. The set mouse=r setting enables
+ proper pasting of text with the mouse when working in chroot or over a
+ remote connection. Finally, the if statement with the
+ set background=dark setting corrects
+ vim's guess about the background color of some terminal
+ emulators. This gives the highlighting a better color scheme for use on the
+ black background of these programs.
Documentation for other available options can be obtained by
running the following command: