 <p>If you want to perform an action on a range of lines, and you know the line numbers, you can put the range on the command line. For instance, to delete lines 20 through 200 you can do:</p> <pre><code>:20,200d </code></pre> <p>To move lines 20 through 200 to where line 300 is you can use:</p> <pre><code>:20,200m300 </code></pre> <p>And so on.</p>