On Mon, 25 Feb 2008 00:24:53 -0800
Charlie Kester <[EMAIL PROTECTED]> wrote:

> I've been catching up on the archives since joining this list.  In
> Marc's announcement for dvtm-0.4 he included the following todo item:
> 
> > * terminal emulation fixes: make arrow keys work within vim (without 
> >   the TERM=linux workaround). 
> 
> I think this is vim's bug, not dvtm's or madtty's or even rxvt's.
> I have the same problem when I run vim in iTerm with an rxvt profile
> and no dvtm.  
> 
> It seems to be related to vim's builtin terminal definitions. I
> checked the terminfo definitions for cub1, cuf1, cuu1 and cud1 with
> infocmp.  They're exactly the same for xterm as for rxvt, yet the
> keys work in vim under xterm.

It is not a bug in vim, it is a vim missconfiguration. I never use arrow
keys in vim, they are absolutely inproductive.

But for those who use it, some terminal configuration.

Add "set nocompatible" to your .vimrc and let me know :)


  --pancake

Reply via email to