title: Vim: Select rectangular block past end of line
body: <p>How do I select a rectangular block of text which extends beyond the end of the line in Vim?  </p>
  
  <p>Suppose that I have </p>
  
  <pre><code>aa
  bbb
  cc
  dddd
  ee
  </code></pre>
  
  <p>I would like to select a rectangular block that extends four characters on all lines. If <code>_</code> is considered white-space, then I want:</p>
  
  <pre><code>aa__
  bbb_
  cc__
  dddd
  ee__
  </code></pre>
  
  <p>The rectangular visual block, <code>C-v</code>, only extends as far as the end of the last line selected:</p>
  
  <p><a href="https://i.stack.imgur.com/FrBRt.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FrBRt.png" alt="rectangular select which extends beyond the end of the line"></a></p>
  
  <p>In Emacs, I can do what I want using <code>C-x &lt;SPC&gt;</code> (<code>rectangle-mark-mode</code>). ;)</p>