From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26354 invoked from network); 4 Nov 2005 14:44:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Nov 2005 14:44:13 -0000 Received: (qmail 62584 invoked from network); 4 Nov 2005 14:44:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Nov 2005 14:44:07 -0000 Received: (qmail 29857 invoked by alias); 4 Nov 2005 14:44:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9628 Received: (qmail 29843 invoked from network); 4 Nov 2005 14:43:59 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Nov 2005 14:43:59 -0000 Received: (qmail 61610 invoked from network); 4 Nov 2005 14:43:59 -0000 Received: from vinc17.net4.nerim.net (HELO ay.vinc17.org) (62.212.121.106) by a.mx.sunsite.dk with SMTP; 4 Nov 2005 14:43:57 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.54) id 1EY2nM-0002hm-Ar; Fri, 04 Nov 2005 15:43:56 +0100 Date: Fri, 4 Nov 2005 15:43:56 +0100 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: Start an external editor to edit the current zle buffer Message-ID: <20051104144356.GF27583@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <20051104132423.GY27583@ay.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.11-vl-20051031 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 On 2005-11-04 13:49:25 +0000, Peter Stephenson wrote: > Vincent Lefevre wrote: > > Is there a way to start an external editor (e.g. given by $FCEDIT) > > to edit the current buffer and go back to zle? > > > > This can be useful if some operations are easier with the mouse. > > See the ZLE function edit-command-line supplied with the shell. It's > quite short and you might want to tweak it. Thanks. Is there any reason why it is not available by default and not documented in the zshzle man page? Also why does fc use $FCEDIT and not ${VISUAL:-${EDITOR:-vi}} like edit-command-line (or the opposite)? -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / SPACES project at LORIA