title: How to add a map leader mapping for visual linewise mode in vim?
body: <p>I'm having some trouble making this mapping work:</p>
  
  <pre><code>if exists(":Tabularize")
    "rails routes file alignment in visual mode
    vmap &lt;Leader&gt;ar :Tabularize /'[^']*'\|=&gt;/l1l0&lt;CR&gt;
  endif
  </code></pre>
  
  <p>When I source my vimrc and then:</p>
  
  <ol>
  <li>Select several lines with vim's Visual linewise mode (V)</li>
  <li>Press <code>\ar</code></li>
  <li>Visual selection is lost, back to Normal mode and the text remains unchanged.</li>
  </ol>
  
  <p>I've tested the Tabularize command and it works. I now want to map it to a leader combination but it just doesn't work through the mapping. Only if I actually input the whole command in vim's CLI.</p>
  
  <p>Note: I've gone through a bunch of map leader questions but none had a solution to my particular issue.</p>