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

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

Answer

:10,15m 25

Explanation

Use :m (move) with a range and destination. :10,15m 25 moves lines 10-15 to after line 25. :m 0 moves current line to the top.

Next

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