From: "SGT. Garcia" <darwinskernel@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users <zsh-users@zsh.org>
Subject: Re: can zsh do this? (fuzzy match, categorised suggestion)
Date: Sat, 14 Feb 2015 04:51:20 -0500 [thread overview]
Message-ID: <20150214095120.GB26370@vpn.5665sherbrooke.house> (raw)
In-Reply-To: <150213233319.ZM2658@torch.brasslantern.com>
On Feb 13 23:33 -0800, Bart Schaefer wrote:
> On Feb 13, 8:56pm, SGT. Garcia wrote:
> } Subject: can zsh do this? (fuzzy match, categorised suggestion)
> }
> } it comes down to:
> } 1. incremental and fuzzy match for types chars so far, and it's on always.
>
> I don't usually plug things like this because they tend to tickle any
> unstable corners of the shell, but auto-fu seems to be reasonably well
> written and probably works better than incremental-complete-word:
>
> https://github.com/hchbaw/auto-fu.zsh/blob/master/auto-fu.zsh
>
> Just use it with the _approximate completer and you should get something
> much like what you've described.
yest it does. thank you very much indeed.
btw, its author has also contributed to vimperator.
>
> } 2. categorisation in representation of suggestions/predictions
>
> This can be accomplished with the tags mechanism in completion zstyles
> plus appropriate values of the "format" style in the right contexts.
> It'd be pretty tedious to set up the first time, I suspect, but perhaps
> someone would do so and publish the result.
auto-fu sort of does that but by bordering categories with the name of each
category; good enough for now. i rather see the author of auto-fu implement
it. it seems advanced for my knowledge of zsh.
next prev parent reply other threads:[~2015-02-14 9:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-14 1:56 SGT. Garcia
2015-02-14 7:33 ` Bart Schaefer
2015-02-14 9:51 ` SGT. Garcia [this message]
2015-02-14 10:11 ` SGT. Garcia
2015-02-14 13:39 ` Martin Vaeth
2015-02-14 14:24 ` SGT. Garcia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150214095120.GB26370@vpn.5665sherbrooke.house \
--to=darwinskernel@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).