From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.6/8.7.3) with ESMTP id XAA11823 for ; Tue, 26 Nov 1996 23:18:19 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id HAA13419; Tue, 26 Nov 1996 07:02:35 -0500 (EST) Resent-Date: Tue, 26 Nov 1996 07:02:35 -0500 (EST) To: Zefram cc: zsh-workers@math.gatech.edu (Z Shell workers mailing list) Subject: Re: big key binding patch In-reply-to: Your message of "Tue, 26 Nov 1996 08:46:13 +0000." Date: Tue, 26 Nov 1996 12:03:04 +0000 Message-ID: <10360.849009784@dis.strath.ac.uk> From: Duncan Sinclair Resent-Message-ID: <"pE2pe.0.bH3.Rnjco"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2483 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zefram writes: >Just to reiterate what I said yesterday, we should *not* use the patch >to bind the ANSI arrow key sequences in vi insert mode. It is completely >the wrong thing to do, and actually causes more problems. > I'm curious.... why? And what happens if you bind them using bindkey? Can we use other ESC-prefixed bindings in vi-insert mode? My version of vi ("nvi 1.34") allows me to use the cursor keys during insert mode - with the obvious bindings: (output of :map!) ^[OA ^[ka cursor up ^[OB ^[ja cursor down ^[OC ^[la cursor right ^[OD ^[ha cursor left Cheers, Duncan.