Date: Tue, 3 Jul 2001 10:53:00 -0400 (EDT) From: Joe Clarke <marcus@marcuscom.com> To: Mark Drayton <mark.drayton@4thwave.co.uk> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: Screen, vim and backspace Message-ID: <20010703105159.C27505-100000@shumai.marcuscom.com> In-Reply-To: <20010703154743.A96802@tethys.valhalla.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Try adding this to your ~/.vimrc: set t_kD=^V<Delete> That fixed the backspace/delete problem I was having. Joe Clarke On Tue, 3 Jul 2001, Mark Drayton wrote: > Hi > > I'm having a hard time getting screen, vim and the backspace key to work > consistently. > > On the console all is fine. Backspace works in my shell (bash), in > vim, and in bash and vim inside a screen session. > > When I ssh in using PuTTY with the backspace set to ^H, backspace works > fine in bash but not in vim (it tries to delete text from the right of > the cursor, windows 'delete' key style). Inside screen backspace works > fine in bash and vim. > > When I ssh in using PuTTY with the backspace set to ^?, backspace wortks > fine in bash and vim. Inside screen, backspace produces a ~ in bash (but > manual ^H backspaces fine) and in vim it tries to delete text to the > right of the cursor. > > My TERM is set to xterm-color when I ssh in. > > So at the moment backspace set to ^H is less broken, but it still > doesn't quite work right. I don't care if I have to set backspace to ^H > or ^?, I just want it to work consistently! > > Any ideas? > > Cheers, > > -- > > Mark Drayton > 4th Wave Technologies > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010703105159.C27505-100000>