From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29760 invoked from network); 3 Apr 2003 15:31:05 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Apr 2003 15:31:05 -0000 Received: (qmail 19735 invoked by alias); 3 Apr 2003 15:30:30 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6007 Received: (qmail 19728 invoked from network); 3 Apr 2003 15:30:30 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 3 Apr 2003 15:30:30 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 3 Apr 2003 15:30:29 -0000 Received: from exchange01.csr.com (unverified) by (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Thu, 3 Apr 2003 16:38:52 +0100 Received: from csr.com (tinky-winky.csr.com [192.168.144.127]) by exchange01.csr.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id H5TX1BV7; Thu, 3 Apr 2003 16:29:33 +0100 To: zsh-users@sunsite.dk Subject: Re: is there way to use vicmd (not viins) layout initially? In-reply-to: "Zefram"'s message of "Thu, 03 Apr 2003 15:49:31 BST." <20030403144931.GB27548@fysh.org> Date: Thu, 03 Apr 2003 16:30:27 +0100 Message-ID: <6167.1049383827@csr.com> From: Peter Stephenson Zefram wrote: > I believe the intent was that in Emacs mode one could switch to > vi command mode and then switch back to Emacs mode by invoking an > insert command from the vicmd keymap. I'm sure that's correct, but it's undocumented and to mind confusing. Further, I suspect few people use vicmd from Emacs at all. So I thought the new way would be more useful. > I suggest that to achieve starting editing in vi command mode what one > wants to do is select the "vicmd" keymap instead of "main" when the editor > is invoked. Perhaps there could be a specially-named widget that, if it > exists, gets invoked as soon as ZLE has started up to start editing a new > command line; this would be the in-ZLE equivalent of the precmd function. That would be useful anyway. We could have zle-init-hook (at initialisation) and zle-start-hook (each time the editor is started). -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** 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. **********************************************************************