title: HOME and END keys Problem in Vim
body: <p>I am on Ubuntu. I am a beginner user of Vim. I have setup key mappings in <code>/etc/vim/vimrc</code> for home and end keys.</p>
  
  <p>It is working on terminal, but when I edit a file in Guake terminal these mappings are not working. I have this problem with me this time only. Last time (I mean before reinstalling Ubuntu) it was working fine on each terminal.</p>
  
  <p>I have tried </p>
  
  <pre><code> set term=xterm
  </code></pre>
  
  <p>but its still not working.</p>
  
  <p>It will be really nice if someone help me with this. Also if someone can give me addition info about some other keys to map or some other things useful, it will be really nice.</p>
  
  <p>-- </p>
  
  <p>vimrc:</p>
  
  <pre><code>if has("syntax")
    syntax on
  endif
  </code></pre>
  
  <p>//just this has been added by me</p>
  
  <pre><code>if filereadable("/etc/vim/vimrc.local")
     source /etc/vim/vimrc.local
  endif
  
  map &lt;ESC&gt;[8~    &lt;End&gt;
  
  map &lt;ESC&gt;[7~    &lt;Home&gt;
  
  imap &lt;ESC&gt;[8~    &lt;End&gt;  
  
  imap &lt;ESC&gt;[7~    &lt;Home&gt;
  </code></pre>
  
  <p>All the ret things are commented</p>
  
  <p>I would like to add that i don't think that this is the problem with vimrc file as this configuration let me use these END and HOME keys in terminal while I'm in Insert mode or Normal mode. But not working on guake.(correct me if I am wrong please.)</p>
  
  <p>Still hoping you might help me with something now.</p>
  
  <p>--</p>