how to copy and paste in linux vi editor code example Example: paste vim p (use v to highlight, y to copy, p to paste)