title: Vim visual selection and regexp
body: <p>I am having a problem with the visual selection and running a regular expression replace. When I select some text that does not contain the whole row, and hit : to bring the command line up, and do something like</p>
  
  <pre><code>:s/T/t/
  </code></pre>
  
  <p>Then the first match on the line (whether it's selected or not) is changed. So, for example, I  have the text</p>
  
  <pre><code>Test Text here
  </code></pre>
  
  <p>and I visually select the word <strong>Text</strong>, then run the above substitution, I end up with</p>
  
  <pre><code>test Text here
  </code></pre>
  
  <p>which is not what I want.</p>
  
  <p>Any ideas how to achieve the right result?</p>
  
  <p>Edit: The actual command line is</p>
  
  <pre><code>'&lt;,'&gt;s/T/t/
  </code></pre>
  
  <p>as defaulted by Vim when you press : with a visual selection.</p>