Index: chapter06/vim.xml
===================================================================
--- chapter06/vim.xml (revision 9742edf14755e42ecbfab6b837817508c56c4411)
+++ chapter06/vim.xml (revision 8557cabb5520c89845d23604d0f255d0c154e4b9)
@@ -120,4 +120,5 @@
set nocompatible
set backspace=2
+set mouse=r
syntax on
if (&term == "iterm") || (&term == "putty")
@@ -125,19 +126,21 @@
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