From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3265 invoked from network); 21 Jun 2002 17:25:08 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Jun 2002 17:25:08 -0000 Received: (qmail 29312 invoked by alias); 21 Jun 2002 17:24:55 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5077 Received: (qmail 29300 invoked from network); 21 Jun 2002 17:24:54 -0000 To: zsh-users@sunsite.dk (Zsh users list) Subject: Re: keybinding for "edit current line with $EDITOR" In-reply-to: "Adam Lazur"'s message of "Fri, 21 Jun 2002 13:11:26 EDT." <20020621171126.GA4443@x-o.clustermonkey.org> Date: Fri, 21 Jun 2002 18:24:24 +0100 Message-ID: <29834.1024680264@csr.com> From: Peter Stephenson Adam Lazur wrote: > I'm a convert to zsh from bash, and there's only one thing that I've > been missing: the ability to open $EDITOR to edit the current line of > input. > > In bash with the vi keybindings enabled it is bound to v... I can't > find it in the bash keybinding stuff to give a readline function name. See the function edit-command-line (!) supplied in the Zle directory of the distribution; it should be installed with 4.0.4. autoload -U edit-command-line zle -N edit-command-line bindkey -M vicmd v edit-command-line -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************