title: Search and replace in multiple files using vim
body: <p>Is it possible to apply the same search and replace in multiple files in <code>vim</code>? I'll give an example below.</p>
  
  <p>I have multiple .txt files — <code>sad1.txt</code> until <code>sad5.txt</code>. To open them, I'll use <code>vim sad*</code> and it opened already. Now inside the 5 txt files they have similar word like <strong>happy999</strong>; I would like to change it to <strong>happy111</strong>. I am currently using this code:</p>
  
  <pre><code>argdo %s/happy999/happy111/gc | wq!
  </code></pre>
  
  <p>Eventually only the <code>sad1.txt</code> is changed. What should I do to run one script in the 5 txt files?</p>