A appends text at the end of a line . Deleting Text x deletes the character at the cursor. As with the movement commands, these commands can be prefaced by a number to indicate a desired repetition. The command 3dw deletes the next three words, for example. N searches for the previous occurrence of string .
Y yanks a copy of the next n lines.
The following is a list of saving and exiting commands. Each has its advantages and disadvantages. Decide which ones appeal to you and use them. Indicate if vi is in insert mode. Automatically wrap word in last n columns.