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

Re: Changing subword-range according to current completion context



On Fri, Nov 03 2017, Bart Schaefer wrote:
> Not really, unless the completion function is designed to do so.  The
> only things that persist from any call of completion to the next are
> which completion widget was used and what comprises the previous list
> of possible maches, and all that is lost if any other kind of edit or
> motion intervenes between calls to completion.

I figured this would be the case.
Keeping it in sync would be quite hard as well.

Well, I'll keep to the the word-context approach for now.
Feels barbaric, but does the job. ;)



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