title: How can I delete multiple lines in vi?
body: <p>I have tried to follow the following:</p>
  
  <p><a href="https://stackoverflow.com/questions/3114936/how-to-delete-selected-text-in-vi-editor">How to delete selected text in VI editor</a></p>
  
  <p>but</p>
  
  <pre><code>5dd
  </code></pre>
  
  <p>gives</p>
  
  <blockquote>
    <p>E492: Not an editor command: 5dd</p>
  </blockquote>
  
  <p>I then tried:</p>
  
  <pre><code>5d
  </code></pre>
  
  <p>Which only deletes a single line.  How can I delete multiple lines?</p>