Question: how to copy and paste multiple times in vim?
Answer: Copy a line to multiple locations Move the cursor to the wanted line and press Y to copy it. Move the cursor to a new location, then press p to paste the line after the current line, or P to paste before the current line. After moving the cursor to a new location, press . to repeat the paste.