next up previous contents
Next: File saving Up: Quick Vi Tutorial Previous: Cursor movement commands

Deleting text

     x     delete the character at the cursor
     dd    delete a line

Move the cursor to the second line and position it so that it is underneath the apostrophe in 'em. Press the letter [x], and the ' will disappear. Now press the letter [i] to move into insert mode and type the letters th. Press [Esc] when you are finished.



Ross Biro
Thu May 25 10:45:54 PDT 1995