title: How to make vim's `:global` command confirm-able before executing the ex Command?
body: <p>How can I make vim's <code>:global</code> command ask the user if they want to execute the ex command? Similar to what happens with the <code>:substite</code> command with the 'c' option, for example <code>%s:Foo:Fighters:gc</code></p>
  
  <p>I tried:</p>
  
  <pre><code>:g/mypattern/.s:.*\n::gc
  </code></pre>
  
  <p>and</p>
  
  <pre><code>:g/mypattern/s:.*\n::gc
  </code></pre>
  
  <p>but if there is a match on below line it is jumped. For example:</p>
  
  <pre><code>MATCH
  NONMATCH
  MATCH
  
  MATCH
  MATCH
  </code></pre>
  
  <p>The result is:</p>
  
  <pre><code>NONMATCH
  
  MATCH  &lt;&lt;-- this should be erased.
  </code></pre>
  
  <p>A promptable <code>g/FOO/d</code> would be perfect.</p>