Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Start an external editor to edit the current zle buffer



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 <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author