Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Real Vi session for editing a command
- X-seq: zsh-users 10205
- From: Frank Terbeck <frank.terbeck@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Real Vi session for editing a command
- Date: Wed, 03 May 2006 12:00:28 +0200
- In-reply-to: <Xns97B86DE9A72BEzzappergmailcom@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Operating-system: Linux 2.6.16.1 i686
- References: <Xns97B86DE9A72BEzzappergmailcom@xxxxxxxxxxx>
zzapper <david@xxxxxxxxxx>:
> in one of my previous lives, I had a shell (MKS?) where when editing a
> command (in vi mode) line I could hit ESC and then I would enter a real Vi
> window, when I saved and quit the command would be executed. Any ideas if
> possible with zsh/bash?
Of course the zsh can do this. :-)
autoload edit-command-line
zle -N edit-command-line
bindkey '\ee' edit-command-line
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author