title: Vim: padding out lines with a character
body: <p>How can I repeatedly add a character at the end of one or more lines, padding out the line(s) to a specific column? </p>
  
  <p>For instance:<br>
  ('x' represents column 40, not a character on the line; and there are no spaces or tabs after the text)</p>
  
  <pre><code>line one                               x
  line two                               x
  line three                             x
  line eleventy-billion                  x
  </code></pre>
  
  <p>becomes </p>
  
  <pre><code>line one ------------------------------x
  line two ------------------------------x
  line three ----------------------------x
  line eleventy-billion -----------------x
  </code></pre>