title: Linux terminal( Vim ) cannot paste the whole code?
body: <p>I have a problem for long time, when I use Linux terminal or putty pasting code, usually the code cannot be completely pasted, usually the beginning will lose.
  For example, I copy a piece of code using "ctrl+c" in a browser.</p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;HelloWorld&lt;/servlet-name&gt;
      &lt;servlet-class&gt;HelloWorld&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;HelloWorld&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/HelloWorld&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>Then I open the file in terminal using vim, right click then choose "paste", the pasted code is only:</p>
  
  <pre><code>me&gt;HelloWorld&lt;/servlet-name&gt;
      &lt;servlet-class&gt;HelloWorld&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;HelloWorld&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/HelloWorld&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>