Improve your vi skills by learning how to yank, cut and paste.

Nice little cheat sheet.

Action Command Description
Yank line yy Copy current line
Yank N lines Ny Copy N line (e.g. 3yy = 3 lines)
Yank word yw Copy from cursor to end of word
Yank to end y$ Copy from cursor to end of line
Highlight block Ctrl-V Highlight block to cut or copy
Cut highlight d Cut highlighted block
Cut line dd Delete (cut) current line
Cut N lines Ndd Delete N lines (e.g., 3dd)
Cut word dw Delete from cursor to end of word
Cut to end d$ Delete from cursor to end of line
Paste after p Paste after cursor
Paste before P Paste before cursor

That is all.