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

Re: How to kill string but leave it in history?



Roderick Schertler wrote:
>> This is exactly what pound-insert is for.  I use it often.
>
>It doesn't work for multiline commands, though.

Yes it does.  It adds a # at the beginning of each line.  Or do you
mean continuation lines?  push-input may help here.

>Which reminds me, it has always bugged me that if zsh creates a
>continuation line (like
>
>    $ print "foo<return>
>    dquote> _
>
>) I can't go from the dquote> line back up to the first line

Yes, this is what push-input is for.

-zefram



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