Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting back a command after hitting CTRL-C
- X-seq: zsh-users 12960
- From: Tomasz Pala <gotar@xxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Getting back a command after hitting CTRL-C
- Date: Tue, 17 Jun 2008 14:23:59 +0200
- In-reply-to: <2d460de70806170505v24c8d557g146a73d2cd553bab@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70806170505v24c8d557g146a73d2cd553bab@xxxxxxxxxxxxxx>
On Tue, Jun 17, 2008 at 14:05:26 +0200, Richard Hartmann wrote:
> somtimes, I will start typing a command, realize I do not want to execute
> it, hit CTRL-C, only to realize I would have saved a lot of typing if I
> had instead modified it. What I would love to see is a feature that
> holds onto the last buffer content and revives it into ZLE, so to speak.
alt-q does the job. If don't, just add to zshrc;
bindkey "ESC-q" push-line
--
Tomasz Pala <gotar@xxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author