| Key | Description | 
 
 | x | delete a word on cursor | 
 
 | X | delete a word before cursor | 
 
 | yy | copy the current line into the buffer | 
 
 | y$ | copy from the cursor position to the end of the line into the buffer | 
 
 | y0 | copy from the head of line to the cursor position into the buffer | 
 
 | yw | copy a word on cursor into the buffer | 
 
 | p | paste the contents of the buffer after the cursor position | 
 
 | P | paste the contents of the buffer before the cursor position | 
 
 | dd | delete the current line | 
 
 | d$ | delete from the cursor position to the end of the line | 
 
 | d0 | delete from the head of the line to the cursor position | 
 
 | dw | delete from the head of the line to the next word | 
 
 | u | cancel the last operation | 
 
 | U | cancel the last operation for a line |