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

Re: Getting back a command after hitting CTRL-C



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