title: Efficient way to delete line containing certain text in vim with prompt
body: <p>At present i can search for text</p>
  
  <pre><code>/text
  </code></pre>
  
  <p>and then delete line using <code>dd</code> and if i don't want to delete i can go for next match with <code>n</code>.</p>
  
  <p><strong>But is there any more fast way to do that!</strong> </p>
  
  <p>This command below deletes all the lines containing text, but the problem is that it deletes all lines at once, sometimes that text is in some line that is exception.</p>
  
  <pre><code>:g/text/d
  </code></pre>
  
  <p>But i want something simple like like </p>
  
  <pre><code>:%s/text/some_other_text/gc
  </code></pre>
  
  <p>because this gives the option to substitute or not to.</p>