title: How to add text at the end of each line in Vim?
body: <p>In Vim, I have the following text:</p>
  
  <pre><code>key =&gt; value1
  key =&gt; value2
  key =&gt; value1111
  key =&gt; value12
  key =&gt; value1122222
  </code></pre>
  
  <p>I would like to add "," at the end of each line. The previous text will become the following:</p>
  
  <pre><code>key =&gt; value1,
  key =&gt; value2,
  key =&gt; value1111,
  key =&gt; value12,
  key =&gt; value1122222,
  </code></pre>
  
  <p>Does anyone know how to do this? Is it possible to use visual block mode to accomplish this?</p>