I am on Ubuntu. I am a beginner user of Vim. I have setup key mappings in /etc/vim/vimrc
for home and end keys.
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.
I have tried
set term=xterm
but its still not working.
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.
--
vimrc:
if has("syntax")
syntax on
endif
//just this has been added by me
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
map <ESC>[8~ <End>
map <ESC>[7~ <Home>
imap <ESC>[8~ <End>
imap <ESC>[7~ <Home>
All the ret things are commented
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.)
Still hoping you might help me with something now.
--