Skip to main content.
Arizona State University College of Liberal Arts and Sciences
Department of Mathematics and Statistics
Navigation:

Home

Search





File Saving Quick Vi Tutorial Cursor Movement Commands Vi Tutorial Contents


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.