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

Re: accept-and-infer-next-history in path completion



Andrej Borsenkow wrote:

> > This makes accept-and-infer-next-history be treated specially when in
> > menu-selection. It accepts the current match and immediatly starts
> > completion again. So if you have a list of files, place the mark on a
> > directory and execute a-a-i-n-h, you can select files in that
> > directory. Of course it would be nice to be able to go back again,
> > e.g. with undo, but implementing that is a bit more complicated...
> 
> It just occured to me, that it is quite useful in path completion. E.g. if you
> have something like
> 
> /tools/{share,src}/z/bla-bla-bla
> 
> it is nice to hit a single key to accept ``share'' or ``src'' and immediately
> continue completion after that.

That's what I had in mind.

> In this case a-a-i-n-h is probably misnomer ...
> something like accept-and-continue-completion would  be better.

Sure it is. I just had to take what's there.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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