Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
auto list choices
- X-seq: zsh-workers 31120
- From: joe M <joe9mail@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: auto list choices
- Date: Wed, 6 Mar 2013 22:57:13 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=RCyRlqO+rcLiOQS/XkhvSI7vK/9wThzGOYBRUIRJGsY=; b=OkuIZgTBC5Sus7HuASCaIgB1Drww4wrT2U4s788czBZ5bGA81Mgtc74HHaU3cDrlQM c9VVwyOctWLojVhao3GZbHqcIMn13g9Lwkw16MesrECP2Ahcz+RF0d3Fulxeqr/I07tT qpa6KlHHzV4YWdFanIRxTZhMFmOXWkQRuJ3/+TLunZujKN0QNXm1YMIw1zBpRntyOscE ZNyHHdTIfAzzhcQwN38+TvakAlKaw59YJD9h4w1gmFIeNVzIbflTPGtXs2T8hGaslPjs ZQwAHFZzkcywt/M3oie56NraqSNlXC4kaf+jyrlTj/ibp+XTN2kQOMKJBeqFdubKPlTj swSg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
Not sure how useful this is, but, the attached file does a
list-choices for each self-insert.
I am wondering if anyone has experimented with using
incremental-complete-word switched on, by default. Similar to how
predict-on works. Inserting the prediction into the command line, by
default, and allowing the user to type over the prediction or select
it, etc.
I tried binding complete-word to self-insert and realized that the
solution is not practical. To have complete-word work on each
self-insert, it has to work in a while loop similar to how
incremental-complete-word does.
I tried incr-0.2.zsh, but, that uses the old style
expand-or-complete-prefix. Auto-fu is cool, but, the code seems too
complicated.
Any thoughts, please?
Thanks
Joe
Attachment:
80-auto-list-choices.zsh
Description: Binary data
Messages sorted by:
Reverse Date,
Date,
Thread,
Author