vimtricks.wiki Concise Vim tricks, one at a time.

How do you copy a range of lines to another location?

Answer

:10,15t 25

Explanation

Use :t (copy) with a range and destination. :10,15t 25 copies lines 10-15 to after line 25. :t. duplicates the current line.

Next

How do I visually select a double-quoted string including the quotes themselves?