* Cannot get incremental-complete-word to work
@ 1999-07-08 14:47 Andrej Borsenkow
1999-07-08 15:32 ` Andrej Borsenkow
0 siblings, 1 reply; 2+ messages in thread
From: Andrej Borsenkow @ 1999-07-08 14:47 UTC (permalink / raw)
To: ZSH workers mailing list
bor@itsrm2:~%> zsh -f
itsrm2% fpath=($fpath ~/.zsh.d/functions)
itsrm2% autoload compinit; compinit
itsrm2% autoload incremental-complete-word
itsrm2% zle -N incremental-complete-word
itsrm2% bindkey -e
itsrm2% bindkey '\C-xI' incremental-complete-word
itsrm2% ls ^xI
itsrm2% ls (press ``t'')
incremental completion...
itsrm2% ls t(press RETURN)
incremental completion...
tsrm2% ls tkey=
files: _
Brodsky addrbook.d fnt observe tmp
FM2000 bin foo save xxxx
ICONS dead.letter itsrm2 src
INBOX dikz mail test
this is with all patches up to including 7042 (I hope :-)
/andrej
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Cannot get incremental-complete-word to work
1999-07-08 14:47 Cannot get incremental-complete-word to work Andrej Borsenkow
@ 1999-07-08 15:32 ` Andrej Borsenkow
0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 1999-07-08 15:32 UTC (permalink / raw)
To: ZSH workers mailing list
>
> itsrm2% ls t
> incremental completion...
>
O.K., I figured this out. Default prompt does not include %u. I think, if i-c-w
selects complete-word, it would better set prefix (unless defined) to anything
with %u.
Related problem is, that in the above case %u would still be empty because ``t''
is the longest unambigous prefix. Again in this case some feedback would really
be nice (without it you cannot tell, if word typed so far is still ambiguous or
simply does not match anything)
> tsrm2% ls tkey=
My fault, sorry. Shame on me :-(
/andrej
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-07-08 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-08 14:47 Cannot get incremental-complete-word to work Andrej Borsenkow
1999-07-08 15:32 ` Andrej Borsenkow
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).