title: What has changed my mouse selection behaviour?
body: <p>In using vim on Linux at the terminal I expect mouse selection to behave as (e.g.):</p>
  
  <ul>
  <li>Start insert mode</li>
  <li>Select some other text with left mouse button</li>
  <li>Click middle button</li>
  <li>Selected text gets pasted in where I was inserting</li>
  </ul>
  
  <p>I think of this as "normal terminal mouse behaviour", and expect it to work like that for all programs, not just vim. However, something changed in the past few days and vim now acts differently:</p>
  
  <ul>
  <li>Start insert mode</li>
  <li>Select some other text with left mouse button
  <ul>
  <li>My insertion point now moves to the start of the selection</li>
  <li>My mode is changed from "Insert" to "(insert) SELECT"</li>
  </ul></li>
  <li>Click middle button</li>
  <li>Looks like nothing happened, but I think it has actually pasted the selection on top of itself, because if I click again the selected text appears a second time after the selection.</li>
  </ul>
  
  <p>One other symptom: The mouse cursor is now an arrow when pointing at a vim terminal window. Other terminal windows show <a href="http://www.hal-pc.org/journal/2006/06_novDec/images/mel_image006.jpg" rel="nofollow" title="I beam">an I beam</a>, and vim used to do that too.</p>
  
  <p>This is a problem with vim, not terminal because</p>
  
  <ol>
  <li>It behaves the same in Gnome terminal, Konsole, and Terminator</li>
  <li>Other programs at terminal behave the "normal" way</li>
  </ol>
  
  <p>I have tried changing settings for <code>:behave</code>, <code>:set selectmode</code> and <code>:set mouse</code>, but this has not helped (maybe I just haven't found the right combo yet?).</p>
  
  <p>This problem is recent (this week), but I have not <a href="https://github.com/jalanb/dotjab/commits/master/vim/vimrc" rel="nofollow">changed my vim settings</a> relevantly in that time.</p>
  
  <p>Any ideas as to what's going on here?</p>