next up previous contents
Next: Join Lines on Single Up: Editing with ex Previous: Append or Change Line

Insert text - ex

Insert operates only in ex mode, from vi type Q to change mode.


:i insert text after current line until . (dot) in col 1 is typed
:i! as previous but toggles autoindent (upon append termination
  autoindent reverts to its normal state)
:10 i insert text after line 10
n.b. - i means insert




Marisa Luvisetto
2000-12-20