Next: Ex Commands, Previous: Other Vi Commands, Up: Vi Commands
You can enter insert mode by one of the following commands. In addition to
these, you will enter insert mode if you give a change command with a line
command as the motion command. Insert commands are also modifying commands
and you can repeat them by the repeat command . (vip-repeat).
vip-insert).
vip-Insert).
vip-append).
vip-Append).
vip-open-line).
vip-Open-line).
vip-open-line-at-point).
Insert mode is almost like emacs mode. Only the following 4 keys behave differently from emacs mode.
vip-change-mode-to-vi).
delete-backward-char).
vip-delete-backward-word).
vip-ESC).
help-command if you like.
(See Customizing Key Bindings, for details.) Binding C-h to
help-command has the effect of making the meaning of C-h
uniform among emacs, vi and insert modes.
When you enter insert mode, VIP records point as the start point of insertion, and when you leave insert mode the region between point and 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.