Tiny doc/misc edits
[bpt/emacs.git] / doc / misc / vip.texi
index 03ca658..25605aa 100644 (file)
@@ -2,8 +2,10 @@
 @setfilename ../../info/vip
 @settitle VIP
 
+@documentencoding UTF-8
+
 @copying
-Copyright @copyright{} 1987, 2001-2011 Free Software Foundation, Inc.
+Copyright @copyright{} 1987, 2001--2014 Free Software Foundation, Inc.
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
@@ -14,8 +16,7 @@ and with the Back-Cover Texts as in (a) below.  A copy of the license
 is included in the section entitled ``GNU Free Documentation License''.
 
 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
-modify this GNU manual.  Buying copies from the FSF supports it in
-developing GNU and promoting software freedom.''
+modify this GNU manual.''
 @end quotation
 @end copying
 
@@ -41,7 +42,7 @@ developing GNU and promoting software freedom.''
 @end direntry
 
 @ifnottex
-@node Top, Survey,, (DIR)
+@node Top
 @top VIP
 
 VIP is a Vi emulating package written in Emacs Lisp.  VIP implements most
@@ -53,13 +54,13 @@ concentrate mainly on differences from Vi, especially features unique to
 VIP.
 
 It is recommended that you read nodes on survey and on customization before
-you start using VIP.  Other nodes may be visited as needed.
+you start using VIP@.  Other nodes may be visited as needed.
 
 Comments and bug reports are welcome.  Please send messages to
 @code{ms@@Sail.Stanford.Edu} if you are outside of Japan and to
-@code{masahiko@@sato.riec.tohoku.junet} if you are in Japan.@refill
+@code{masahiko@@sato.riec.tohoku.junet} if you are in Japan.
 
-@insertcopying 
+@insertcopying
 
 @end ifnottex
 
@@ -83,7 +84,7 @@ concentrate mainly on differences from Vi, especially features unique to
 VIP.
 
 It is recommended that you read chapters on survey and on customization
-before you start using VIP.  Other chapters may be used as future
+before you start using VIP@.  Other chapters may be used as future
 references.
 
 Comments and bug reports are welcome.  Please send messages to
@@ -91,7 +92,7 @@ Comments and bug reports are welcome.  Please send messages to
 @code{masahiko@@unsun.riec.tohoku.junet} if you are in Japan.
 @end iftex
 
-@node Survey, Basic Concepts, Top, Top
+@node Survey
 @chapter A Survey of VIP
 
 In this chapter we describe basics of VIP with emphasis on the features not
@@ -105,7 +106,7 @@ found in Vi and on how to use VIP under GNU Emacs.
 * Differences from Vi:: Differences of VIP from Vi is explained.
 @end menu
 
-@node Basic Concepts, Loading VIP, Survey, Survey
+@node Basic Concepts
 @section Basic Concepts
 
 We begin by explaining some basic concepts of Emacs.  These concepts are
@@ -129,14 +130,13 @@ the character; otherwise we say that point is @dfn{at the end of buffer}.
 @key{PNT} and @key{MRK} are used
 to indicate positions in a buffer and they are not part of the text of the
 buffer.  If a buffer contains a @key{MRK} then the text between @key{MRK}
-and @key{PNT} is called the @dfn{region} of the buffer.@refill
+and @key{PNT} is called the @dfn{region} of the buffer.
 
 @cindex window
 
 Emacs provides (multiple) @dfn{windows} on the screen, and you can see the
 content of a buffer through the window associated with the buffer.  The
 cursor of the screen is always positioned on the character after @key{PNT}.
-@refill
 
 @cindex mode
 @cindex keymap
@@ -150,9 +150,9 @@ buffers.  Each buffer has its @dfn{local keymap} that determines the
 a function is bound to some key in the local keymap then that function will
 be executed when you type the key.  If no function is bound to a key in the
 local map, however, the function bound to the key in the global map becomes
-in effect.@refill
+in effect.
 
-@node Loading VIP, Modes in VIP, Basic Concepts, Survey
+@node Loading VIP
 @section Loading VIP
 
 The recommended way to load VIP automatically is to include the line:
@@ -165,7 +165,7 @@ directory and it will be executed every time you invoke Emacs.  If you wish
 to be in vi mode whenever Emacs starts up, you can include the following
 line in your @file{.emacs} file instead of the above line:
 @example
-(setq term-setup-hook 'vip-mode)
+(add-hook 'emacs-startup-hook 'vip-mode)
 @end example
 @noindent
 (@xref{Vi Mode}, for the explanation of vi mode.)
@@ -178,7 +178,7 @@ M-x vip-mode
 @end example
 @noindent
 
-@node Modes in VIP, Emacs Mode, Loading VIP, Survey
+@node Modes in VIP
 @section Modes in VIP
 
 @kindex 032 @kbd{C-z} (@code{vip-change-mode-to-vi})
@@ -188,7 +188,7 @@ Loading VIP has the effect of globally binding @kbd{C-z} (@kbd{Control-z})
 to the function @code{vip-change-mode-to-vi}. The default binding of @kbd{C-z}
 in GNU Emacs is @code{suspend-emacs}, but, you can also call
 @code{suspend-emacs} by typing @kbd{C-x C-z}.  Other than this, all the
-key bindings of Emacs remain the same after loading VIP.@refill
+key bindings of Emacs remain the same after loading VIP.
 
 @cindex vi mode
 
@@ -199,12 +199,12 @@ called and you will be in @dfn{vi mode}.  (Some major modes may locally bind
 invoked by @kbd{M-x}.  Here @kbd{M-x} means @kbd{Meta-x}, and if your
 terminal does not have a @key{META} key you can enter it by typing
 @kbd{@key{ESC} x}.  The same effect can also be achieve by typing
-@kbd{M-x vip-mode}.)@refill
+@kbd{M-x vip-mode}.)
 
 @cindex mode line
 
 You can observe the change of mode by looking at the @dfn{mode line}.  For
-instance, if the mode line is:@refill
+instance, if the mode line is:
 @example
 -----Emacs: *scratch*              (Lisp Interaction)----All------------
 @end example
@@ -220,7 +220,7 @@ Thus the word @samp{Emacs} in the mode line will change to @samp{Vi}.
 @cindex emacs mode
 
 You can go back to the original @dfn{emacs mode} by typing @kbd{C-z} in
-vi mode.  Thus @kbd{C-z} toggles between these two modes.@refill
+vi mode.  Thus @kbd{C-z} toggles between these two modes.
 
 Note that modes in VIP exist orthogonally to modes in Emacs.  This means
 that you can be in vi mode and at the same time, say, shell mode.
@@ -258,24 +258,24 @@ emacs mode             vi mode                 insert mode
                           know enough Emacs commands.
 @end menu
 
-@node Emacs Mode, Vi Mode, Modes in VIP, Modes in VIP
+@node Emacs Mode
 @subsection Emacs Mode
 
 @kindex 032 @kbd{C-z} (@code{vip-change-mode-to-vi})
 
-You will be in this mode just after you loaded VIP.  You can do all
+You will be in this mode just after you loaded VIP@.  You can do all
 normal Emacs editing in this mode.  Note that the key @kbd{C-z} is globally
 bound to @code{vip-change-mode-to-vi}.  So, if you type @kbd{C-z} in this mode
-then you will be in vi mode.@refill
+then you will be in vi mode.
 
-@node Vi Mode, Insert Mode, Emacs Mode, Modes in VIP
+@node Vi Mode
 @subsection Vi Mode
 
 This mode corresponds to Vi's command mode.  Most Vi commands work as they
 do in Vi.  You can go back to emacs mode by typing @kbd{C-z}.  You can
 enter insert mode, just as in Vi, by typing @kbd{i}, @kbd{a} etc.
 
-@node Insert Mode, Differences from Vi, Vi Mode, Modes in VIP
+@node Insert Mode
 @subsection Insert Mode
 
 The key bindings in this mode is the same as in the emacs mode except for
@@ -299,7 +299,7 @@ Thus typing @kbd{C-z x} in insert mode will have the same effect as typing
 @kbd{ESC x} in emacs mode.
 @end table
 
-@node Differences from Vi, Undoing, Insert Mode, Survey
+@node Differences from Vi
 @section Differences from Vi
 
 The major differences from Vi are explained below.
@@ -324,7 +324,7 @@ The major differences from Vi are explained below.
 * Misc Commands::       Other useful commands.
 @end menu
 
-@node Undoing, Changing, Differences from Vi, Differences from Vi
+@node Undoing
 @subsection Undoing
 
 @kindex 165 @kbd{u} (@code{vip-undo})
@@ -333,9 +333,9 @@ The major differences from Vi are explained below.
 You can repeat undoing by the @kbd{.} key.  So, @kbd{u} will undo
 a single change, while @kbd{u .@: .@: .@:}, for instance, will undo 4 previous
 changes.  Undo is undoable as in Vi.  So the content of the buffer will
-be the same before and after @kbd{u u}.@refill
+be the same before and after @kbd{u u}.
 
-@node Changing, Searching, Undoing, Differences from Vi
+@node Changing
 @subsection Changing
 
 Some commands which change a small number of characters are executed
@@ -346,9 +346,9 @@ then VIP will prompt you for a new word in the minibuffer by the prompt
 @key{ESC} to complete the command.  Before you enter @key{RET} or
 @key{ESC} you can abort the command by typing @kbd{C-g}.  In general,
 @kindex 007 @kbd{C-g} (@code{vip-keyboard-quit})
-you can abort a partially formed command by typing @kbd{C-g}.@refill
+you can abort a partially formed command by typing @kbd{C-g}.
 
-@node Searching, z Command, Changing, Differences from Vi
+@node Searching
 @subsection Searching
 
 @kindex 057 @kbd{/} (@code{vip-search-forward})
@@ -357,14 +357,14 @@ you can abort a partially formed command by typing @kbd{C-g}.@refill
 As in Vi, searching is done by @kbd{/} and @kbd{?}.  The string will be
 searched literally by default.  To invoke a regular expression search,
 first execute the search command @kbd{/} (or @kbd{?}) with empty search
-string.  (I.e, type @kbd{/} followed by @key{RET}.)
+string.  (I.e., type @kbd{/} followed by @key{RET}.)
 A search for empty string will toggle the search mode between vanilla
 search and regular expression search.  You cannot give an offset to the
 search string.  (It is a limitation.)  By default, search will wrap around
 the buffer as in Vi.  You can change this by rebinding the variable
-@code{vip-search-wrap-around}.  @xref{Customization}, for how to do this.@refill
+@code{vip-search-wrap-around}.  @xref{Customization}, for how to do this.
 
-@node z Command, Counts, Searching, Differences from Vi
+@node z Command
 @subsection z Command
 
 @kindex 1723 @kbd{z H} (@code{vip-line-to-top})
@@ -377,9 +377,9 @@ the buffer as in Vi.  You can change this by rebinding the variable
 For those of you who cannot remember which of @kbd{z} followed by @key{RET},
 @kbd{.}@: and @kbd{-} do what.  You can also use @kbd{z} followed by @kbd{H},
 @kbd{M} and @kbd{L} to place the current line in the Home (Middle, and
-Last) line of the window.@refill
+Last) line of the window.
 
-@node Counts, Marking, z Command, Differences from Vi
+@node Counts
 @subsection Counts
 
 Some Vi commands which do not accept a count now accept one
@@ -405,7 +405,7 @@ line.
 Given a count @var{n}, @var{n}-th occurrence will be searched.
 @end table
 
-@node Marking, Region Commands, Counts, Differences from Vi
+@node Marking
 @subsection Marking
 
 Typing an @kbd{m} followed by a lower-case character @var{ch} marks the
@@ -425,7 +425,7 @@ Set mark at point (and push old mark on mark ring).
 Jump to mark (and pop mark off the mark ring).
 @end table
 
-@node Region Commands, New Commands, Marking, Differences from Vi
+@node Region Commands
 @subsection Region Commands
 
 @cindex region
@@ -437,9 +437,9 @@ delimited by point and mark.)  The key @kbd{r} is used for this purpose.
 Thus @kbd{d r} will delete the current region.  If @kbd{R} is used instead
 of @kbd{r} the region will first be enlarged so that it will become the
 smallest region containing the original region and consisting of whole
-lines.  Thus @kbd{m .@: d R} will have the same effect as @kbd{d d}.@refill
+lines.  Thus @kbd{m .@: d R} will have the same effect as @kbd{d d}.
 
-@node New Commands, New Bindings, Region Commands, Differences from Vi
+@node New Commands
 @subsection Some New Commands
 
 Note that the keys below (except for @kbd{R}) are not used in Vi.
@@ -479,7 +479,7 @@ can execute a single Emacs command.  After executing the Emacs command you
 will be in vi mode again.  You can give a count before typing @kbd{\}.
 Thus @kbd{5 \ *}, as well as @kbd{\ C-u 5 *}, will insert @samp{*****}
 before point.  Similarly @kbd{1 0 \ C-p} will move the point 10 lines above
-the current line.@refill
+the current line.
 @item K
 @kindex 113 @kbd{K} (@code{vip-kill-buffer})
 Kill current buffer if it is not modified.  Useful when you selected a
@@ -505,7 +505,7 @@ similar, but will use window different from the current window.
 If followed by a certain character @var{ch}, it becomes an operator whose
 argument is the region determined by the motion command that follows.
 Currently, @var{ch} can be one of @kbd{c}, @kbd{C}, @kbd{g}, @kbd{q} and
-@kbd{s}.@refill
+@kbd{s}.
 @item # c
 @kindex 0432 @kbd{# c} (@code{downcase-region})
 Change upper-case characters in the region to lower case
@@ -518,7 +518,7 @@ Change lower-case characters in the region to upper case. For instance,
 @item # g
 @kindex 0432 @kbd{# g} (@code{vip-global-execute})
 Execute last keyboard macro for each line in the region
-(@code{vip-global-execute}).@refill
+(@code{vip-global-execute}).
 @item # q
 @kindex 0432 @kbd{# q} (@code{vip-quote-region})
 Insert specified string at the beginning of each line in the region
@@ -531,7 +531,7 @@ Check spelling of words in the region (@code{spell-region}).
 Call last keyboard macro.
 @end table
 
-@node New Bindings, Window Commands, New Commands, Differences from Vi
+@node New Bindings
 @subsection New Key Bindings
 
 In VIP the meanings of some keys are entirely different from Vi.  These key
@@ -569,7 +569,7 @@ in the current window, while @kbd{S} selects buffer in another window.
 @kindex 1300 @kbd{X} (@code{vip-ctl-x-equivalent})
 These keys will exit from vi mode and return to emacs mode temporarily.
 If you type @kbd{C} (@kbd{X}), Emacs will be in emacs mode and will believe
-that you have typed @kbd{C-c} (@kbd{C-x}, resp.) in emacs mode. Moreover,
+that you have typed @kbd{C-c} (@kbd{C-x}) in emacs mode. Moreover,
 if the following character you type is an upper-case letter, then Emacs
 will believe that you have typed the corresponding control character.
 You will be in vi mode again after the command is executed.  For example,
@@ -578,7 +578,7 @@ mode.  You get the same effect by typing @kbd{C-x C-s} in vi mode, but
 the idea here is that you can execute useful Emacs commands without typing
 control characters. For example, if you hit @kbd{X} (or @kbd{C-x}) followed
 by @kbd{2}, then the current window will be split into 2 and you will be in
-vi mode again.@refill
+vi mode again.
 @end table
 
 In addition to these, @code{ctl-x-map} is slightly modified:
@@ -591,7 +591,7 @@ In addition to these, @code{ctl-x-map} is slightly modified:
 This is equivalent to @kbd{C-x 1 C-x 2} (1 + 2 = 3).
 @end table
 
-@node Window Commands, Buffer Commands, New Bindings, Differences from Vi
+@node Window Commands
 @subsection Window Commands
 
 In this and following subsections, we give a summary of key bindings for
@@ -615,7 +615,7 @@ Split current window into two windows.
 Show current buffer in two windows.
 @end table
 
-@node Buffer Commands, File Commands, Window Commands, Differences from Vi
+@node Buffer Commands
 @subsection Buffer Commands
 
 @table @kbd
@@ -636,7 +636,7 @@ Kill the current buffer if it is not modified.
 Save the current buffer in the file associated to the buffer.
 @end table
 
-@node File Commands, Misc Commands, Buffer Commands, Differences from Vi
+@node File Commands
 @subsection File Commands
 
 @table @kbd
@@ -657,7 +657,7 @@ Write current buffer into the specified file.
 Insert specified file at point.
 @end table
 
-@node Misc Commands, Vi Commands, File Commands, Differences from Vi
+@node Misc Commands
 @subsection Miscellaneous Commands
 
 @table @kbd
@@ -678,17 +678,17 @@ Call last remembered keyboard macro.
 Suspend Emacs.
 @item Z Z
 Exit Emacs.
-@itemx Q
+@item Q
 Query replace.
-@itemx R
+@item R
 Replace.
 @end table
 
-@node Vi Commands, Numeric Arguments, Misc Commands, Top
+@node Vi Commands
 @chapter Vi Commands
 
 This chapter describes Vi commands other than Ex commands implemented in
-VIP.  Except for the last section which discusses insert mode, all the
+VIP@.  Except for the last section which discusses insert mode, all the
 commands described in this chapter are to be used in vi mode.
 
 @menu
@@ -705,7 +705,7 @@ commands described in this chapter are to be used in vi mode.
 * Commands in Insert Mode::  Commands for entering insert mode.
 @end menu
 
-@node Numeric Arguments, Important Keys, Vi Commands, Vi Commands
+@node Numeric Arguments
 @section Numeric Arguments
 
 @cindex numeric arguments
@@ -724,9 +724,9 @@ Most Vi commands accept a @dfn{numeric argument} which can be supplied as
 a prefix to the commands.  A numeric argument is also called a @dfn{count}.
 In many cases, if a count is given, the command is executed that many times.
 For instance, @kbd{5 d d} deletes 5 lines while simple @kbd{d d} deletes a
-line.  In this manual the metavariable @var{n} will denote a count.@refill
+line.  In this manual the metavariable @var{n} will denote a count.
 
-@node Important Keys, Buffers and Windows, Numeric Arguments, Vi Commands
+@node Important Keys
 @section Important Keys
 
 The keys @kbd{C-g} and @kbd{C-l} are unique in that their associated
@@ -743,7 +743,7 @@ Clear the screen and reprint everything (@code{recenter}).
 
 In Emacs many commands are bound to the key strokes that start with
 @kbd{C-x}, @kbd{C-c} and @key{ESC}.  These commands can be
-accessed from vi mode as easily as from emacs mode.@refill
+accessed from vi mode as easily as from emacs mode.
 
 @table @kbd
 @item C-x
@@ -773,10 +773,10 @@ Escape to emacs mode.  Hitting the @kbd{\} key will take you to emacs mode,
 and you can execute a single Emacs command.  After executing the
 Emacs command you will be in vi mode again.  You can give a count before
 typing @kbd{\}.  Thus @kbd{5 \ +}, as well as @kbd{\ C-u 5 +}, will insert
-@samp{+++++} before point.@refill
+@samp{+++++} before point.
 @end table
 
-@node Buffers and Windows, Files, Important Keys, Vi Commands
+@node Buffers and Windows
 @section Buffers and Windows
 
 @cindex buffer
@@ -785,7 +785,7 @@ typing @kbd{\}.  Thus @kbd{5 \ +}, as well as @kbd{\ C-u 5 +}, will insert
 
 In Emacs the text you edit is stored in a @dfn{buffer}.
 See GNU Emacs Manual, for details.  There is always one @dfn{current}
-buffer, also called the @dfn{selected buffer}.@refill
+buffer, also called the @dfn{selected buffer}.
 
 @cindex window
 @cindex modified (buffer)
@@ -843,7 +843,7 @@ by @key{RET}.  The default buffer name to switch to will also be prompted,
 and you can select it by giving a simple @key{RET}.  See GNU Emacs Manual
 for details of completion.
 
-@node Files, Viewing the Buffer, Buffers and Windows, Vi Commands
+@node Files
 @section Files
 
 We have the following commands related to files.  They are used to visit,
@@ -884,7 +884,7 @@ file in the current window, you can just type @kbd{v}.  Emacs maintains the
 @dfn{default directory} which is specific to each buffer.  Suppose, for
 instance, that the default directory of the current buffer is
 @file{/usr/masahiko/lisp/}.  Then you will get the following prompt in the
-minibuffer.@refill
+minibuffer.
 @example
 visit file: /usr/masahiko/lisp/
 @end example
@@ -912,7 +912,7 @@ window.
 
 You can verify which file you are editing by typing @kbd{g}.  (You can also
 type @kbd{X B} to get information on other buffers too.)  If you type
-@kbd{g} you will get an information like below in the echo area:@refill
+@kbd{g} you will get an information like below in the echo area:
 @example
 "/usr/masahiko/man/vip.texinfo" line 921 of 1949
 @end example
@@ -922,9 +922,9 @@ you may wish to save it in a file.  If you wish to save it in the file
 associated with the buffer (@file{/usr/masahiko/man/vip.texinfo}, in this
 case), you can just say @kbd{X S}.  If you wish to save it in another file,
 you can type @kbd{X W}.  You will then get a similar prompt as you get for
-@kbd{v}, to which you can enter the file name.@refill
+@kbd{v}, to which you can enter the file name.
 
-@node Viewing the Buffer, Mark Commands, Files, Vi Commands
+@node Viewing the Buffer
 @section Viewing the Buffer
 
 In this and next section we discuss commands for moving around in the
@@ -945,11 +945,11 @@ Scroll text of current window upward almost full screen.  You can go
 @kindex 002 @kbd{C-b} (@code{vip-scroll-back})
 Scroll text of current window downward almost full screen.  You can go
 @i{backward} in the buffer by this command (@code{vip-scroll-back}).
-@itemx C-d
+@item C-d
 @kindex 004 @kbd{C-d} (@code{vip-scroll-up})
 Scroll text of current window upward half screen.  You can go
 @i{down} in the buffer by this command (@code{vip-scroll-down}).
-@itemx C-u
+@item C-u
 @kindex 025 @kbd{C-u} (@code{vip-scroll-down})
 Scroll text of current window downward half screen.  You can go
 @i{up} in the buffer by this command (@code{vip-scroll-up}).
@@ -992,7 +992,7 @@ point will be placed in the @var{n}-th line from bottom
 Center point in window and redisplay screen (@code{recenter}).
 @end table
 
-@node Mark Commands, Motion Commands, Viewing the Buffer, Vi Commands
+@node Mark Commands
 @section Mark Commands
 
 The following commands are used to mark positions in the buffer.
@@ -1020,7 +1020,7 @@ latest element of the mark ring (replacing the oldest one).  By repeating
 the command `@kbd{m ,}' you can visit older and older marked positions.  You
 will eventually be in a loop as the mark ring is a ring.
 
-@node Motion Commands, Searching and Replacing, Mark Commands, Vi Commands
+@node Motion Commands
 @section Motion Commands
 
 Commands for moving around in the current buffer are collected here.  These
@@ -1214,7 +1214,7 @@ Repeat previous @kbd{f}, @kbd{t}, @kbd{F} or @kbd{T} command, in the
 opposite direction (@code{vip-repeat-find-opposite}).
 @end table
 
-@node Searching and Replacing, Modifying Commands, Motion Commands, Vi Commands
+@node Searching and Replacing
 @section Searching and Replacing
 
 Following commands are available for searching and replacing.
@@ -1278,7 +1278,7 @@ count, replace that many characters by @var{ch} (@code{vip-replace-char}).
 The commands @kbd{/} and @kbd{?} mark point before move, so that you can
 return to the original point by @w{@kbd{` `}}.
 
-@node Modifying Commands, Delete Commands, Searching and Replacing, Vi Commands
+@node Modifying Commands
 @section Modifying Commands
 
 In this section, commands for modifying the content of a buffer are
@@ -1316,7 +1316,7 @@ command.
 * Change Commands::     Commands for changing text.
 * Repeating and Undoing Modifications::
 @end menu
-@node Delete Commands, Yank Commands, Modifying Commands, Modifying Commands
+@node Delete Commands
 @subsection Delete Commands
 
 @table @kbd
@@ -1368,7 +1368,7 @@ Delete a character before point.  Given @var{n}, delete @var{n} characters
 (@code{vip-delete-backward-char}).
 @end table
 
-@node Yank Commands, Put Back Commands, Delete Commands, Modifying Commands
+@node Yank Commands
 @subsection Yank Commands
 
 @cindex yank
@@ -1404,7 +1404,7 @@ Yank current region.
 Expand current region and yank it.
 @end table
 
-@node Put Back Commands, Change Commands, Yank Commands, Modifying Commands
+@node Put Back Commands
 @subsection Put Back Commands
 Deleted or yanked texts can be put back into the buffer by the command
 below.
@@ -1435,7 +1435,7 @@ numeral between @kbd{1} and @kbd{9}.  If the number register @var{n} is
 specified, @var{n}-th previously deleted/yanked text will be put back.  It
 is an error to specify a number register for the delete/yank commands.
 
-@node Change Commands, Repeating and Undoing Modifications, Put Back Commands, Modifying Commands
+@node Change Commands
 @subsection Change Commands
 
 Most commonly used change command takes the following form.
@@ -1454,7 +1454,7 @@ For example, if point is at the beginning of a word @samp{foo} and you
 wish to change it to @samp{bar}, you can type @kbd{c w}.  Then, as @kbd{w}
 is a point command, you will get the prompt @samp{foo =>} in the
 minibuffer, for which you can type @kbd{b a r @key{RET}} to complete the change
-command.@refill
+command.
 
 @table @kbd
 @item c c
@@ -1468,7 +1468,7 @@ Change current region.
 Expand current region and change it.
 @end table
 
-@node Repeating and Undoing Modifications, Other Vi Commands, Change Commands, Modifying Commands
+@node Repeating and Undoing Modifications
 @subsection Repeating and Undoing Modifications
 
 VIP records the previous modifying command, so that it is easy to repeat
@@ -1488,7 +1488,7 @@ count for the repeated command.  Otherwise, the count for the last
 modifying command is used again (@code{vip-repeat}).
 @end table
 
-@node Other Vi Commands, Commands in Insert Mode, Repeating and Undoing Modifications, Vi Commands
+@node Other Vi Commands
 @section Other Vi Commands
 
 Miscellaneous Vi commands are collected here.
@@ -1568,8 +1568,8 @@ Set mark and push previous mark on mark ring (@code{set-mark-command}).
 @kindex 011 TAB (@code{indent-for-tab-command})
 Indent line for current major mode (@code{indent-for-tab-command}).
 @item C-j
-@kindex 012 @kbd{C-j} (@code{newline-and-indent})
-Insert a newline, then indent according to mode (@code{newline-and-indent}).
+@kindex 012 @kbd{C-j} (@code{electric-newline-and-maybe-indent})
+Insert a newline, and maybe indent according to mode.
 @item C-k
 @kindex 013 @kbd{C-k} (@code{kill-line})
 Kill the rest of the current line; before a newline, kill the newline.
@@ -1609,7 +1609,7 @@ command @kbd{P} or @kbd{p} can retrieve it from kill ring
 (@code{kill-region}).
 @end table
 
-@node Commands in Insert Mode, Ex Commands, Other Vi Commands, Vi Commands
+@node Commands in Insert Mode
 @section Insert Mode
 
 You can enter insert mode by one of the following commands.  In addition to
@@ -1677,7 +1677,7 @@ start point is saved for later use by repeat command etc.  Therefore, repeat
 command will not really repeat insertion if you move point by emacs
 commands while in insert mode.
 
-@node Ex Commands, Ex Command Reference, Commands in Insert Mode, Top
+@node Ex Commands
 @chapter Ex Commands
 
 @kindex 072 @kbd{:} (@code{vip-ex})
@@ -1705,7 +1705,7 @@ expressions}.  For example, a typical forward search would be invoked by
 @var{pat} you must preceded it by @samp{\}.  VIP strips off these @kbd{\}'s
 before @kbd{/} and the resulting @var{pat} becomes the actual search
 pattern.  Emacs provides a different and richer class or regular
-expressions than Vi/Ex, and VIP uses Emacs' regular expressions.  See GNU
+expressions than Vi/Ex, and VIP uses Emacs's regular expressions.  See GNU
 Emacs Manual for details of regular expressions.
 
 Several Ex commands can be entered in a line by separating them by a pipe
@@ -1714,9 +1714,9 @@ character @samp{|}.
 @menu
 * Ex Command Reference::        Explain all the Ex commands available in VIP.
 @end menu
-@node Ex Command Reference, Customization, Ex Commands, Ex Commands
+@node Ex Command Reference
 @section Ex Command Reference
-In this section we briefly explain all the Ex commands supported by VIP.
+In this section we briefly explain all the Ex commands supported by VIP@.
 Most Ex commands expect @var{address} as their argument, and they use
 default addresses if they are not explicitly given.  In the following, such
 default addresses will be shown in parentheses.
@@ -1860,10 +1860,10 @@ The following Ex commands are available in Vi, but not implemented in VIP.
 @kbd{unabbreviate}, @kbd{xit}, @kbd{z}
 @end example
 
-@node Customization, Customizing Constants, Ex Command Reference, Top
+@node Customization
 @chapter Customization
 
-If you have a file called @file{.vip} in your home directory, then it
+If you have a file called @file{~/.emacs.d/vip} (or @file{~/.vip}), then it
 will also be loaded when VIP is loaded.  This file is thus useful for
 customizing VIP.
 
@@ -1872,10 +1872,10 @@ customizing VIP.
 * Customizing Key Bindings::    How to change key bindings.
 @end menu
 
-@node Customizing Constants, Customizing Key Bindings, Customization, Customization
+@node Customizing Constants
 @section Customizing Constants
 An easy way to customize VIP is to change the values of constants used
-in VIP.  Here is the list of the constants used in VIP and their default
+in VIP@.  Here is the list of the constants used in VIP and their default
 values.
 
 @table @code
@@ -1903,12 +1903,12 @@ if @code{nil} then it sis bound to @code{delete-backward-char}.
 @end table
 @noindent
 You can reset these constants in VIP by the Ex command @kbd{set}.  Or you
-can include a line like this in your @file{.vip} file:
+can include a line like this in your @file{~/.emacs.d/vip} file:
 @example
 (setq vip-case-fold-search t)
 @end example
 
-@node Customizing Key Bindings,, Customizing Constants, Customization
+@node Customizing Key Bindings
 @section Customizing Key Bindings
 
 @cindex local keymap
@@ -1916,8 +1916,8 @@ can include a line like this in your @file{.vip} file:
 VIP uses @code{vip-command-mode-map} as the @dfn{local keymap} for vi mode.
 For example, in vi mode, @key{SPC} is bound to the function
 @code{vip-scroll}.  But, if you wish to make @key{SPC} and some other keys
- behave like Vi, you can include the following lines in your @file{.vip}
-file.
+ behave like Vi, you can include the following lines in your
+@file{~/.emacs.d/vip} file.
 
 @example
 (define-key vip-command-mode-map "\C-g" 'vip-info-on-file)
@@ -1932,7 +1932,7 @@ file.
 (define-key vip-command-mode-map "X" 'vip-delete-backward-char)
 @end example
 
-@node GNU Free Documentation License,,, Top
+@node GNU Free Documentation License
 @appendix GNU Free Documentation License
 @include doclicense.texi