Insert Mode

University of Wisconsin Madison

Computer Systems Lab CS1000

Wiscinfo
Wiscinfo
CS Home
CS Home
CSL
CSL
Feedback
CS1000
Feedback
Feedback

next up previous contents index
Next: Command Mode Up: Vi Previous: Vi

Insert Mode

You enter insert mode from command mode by typing one of the following characters:

a append after cursor A append at end of line
i insert before cursor I insert before line
o open next line for insert O open previous line for insert

To return to command mode from insert mode, press the ESC key.

While in insert mode, typing the backspace key will allow you to correct what you have just typed. Vi starts up in autoindent mode by default. A line can be un-indented by pressing ^d while still in insert mode. See the command mode section for how to turn off insert mode.



Caitlin Howell
Thu Jan 16 20:24:40 CST 1997