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

Nice little cheat sheet.

ActionCommandDescription
Yank lineyyCopy current line
Yank N linesNyCopy N line (e.g. 3yy = 3 lines)
Yank wordywCopy from cursor to end of word
Yank to endy$Copy from cursor to end of line
Highlight blockCtrl-VHighlight block to cut or copy
Cut highlightdCut highlighted block
Cut lineddDelete (cut) current line
Cut N linesNddDelete N lines (e.g., 3dd)
Cut worddwDelete from cursor to end of word
Cut to endd$Delete from cursor to end of line
Paste afterpPaste after cursor
Paste beforePPaste before cursor

That is all.