title: vim shows garbage characters on pressing arrow key after opening a file
body: <p>I am getting garbage characters on pressing of arrow keys when I open a vim file.   </p>
  
  <p>I have also defined following in my <code>~/.vimrc</code>:  </p>
  
  <pre><code>set nocompatible
  </code></pre>
  
  <p>I am using putty for login. Is this a putty issue?</p>
  
  <p>Please help</p>
  
  <p>EDIT: if I remove my ~/.vimrc, then problem is also removed.</p>