![]() |
Computer Systems Lab CS1000 |
![]() Wiscinfo |
![]() CS Home |
![]() CSL |
![]() CS1000 |
![]() Feedback |
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.