Re: [dwm] [ANNOUNCE] dvtm-0.4

From: pancake <pancake_AT_youterm.com>
Date: Mon, 25 Feb 2008 13:11:00 +0100

On Mon, 25 Feb 2008 00:24:53 -0800
Charlie Kester <corky1951_AT_comcast.net> 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
Received on Mon Feb 25 2008 - 13:10:48 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:21:21 UTC