I uses screen under rxvt-unicode, in my .vimrc, I map the Shift-Up key
combination like this:
noremap ^[[a zc
As soon as I'm under screen it doesn't work anymore.

Found the reason why my keymapping doesn't work with vim under screen.
I guess vim interprets the escape sequence differently according to
the TERM's environment variable and in my case it's "screen".
If I do export TERM=rxvt under screen then the key binding is ok with vim

What makes vim reacting differently between TERM=rxvt and TERM=screen ?
Is there a way to make things work properly or should I export
TERM=rxvt each time I run screen  ?

Reply via email to