Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: can zsh do this? (fuzzy match, categorised suggestion)
- X-seq: zsh-users 19873
- From: "SGT. Garcia" <darwinskernel@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: can zsh do this? (fuzzy match, categorised suggestion)
- Date: Sat, 14 Feb 2015 04:51:20 -0500
- Cc: zsh-users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ECrvQR+Xz78Xjm8NlUKs9JAK6M2cCDzLOtpWgyQpZc8=; b=OHZd4zyYzaKo97Lw2sCPD6QGeeWOKlGprmNhahu7y8m7+qXnXQycWDqvG1EWESb8tt cRbwxt5bg7HuPsoy4b04f9+NwmBGB0NB+QUPIkToE5Hvj+ozHwUuiI8kX9Mi6F+LjbxP GwEElJDdoGwuqWh4uf/IROL0PW44/RC8hU2qPZsGOH5UT3lJdD4dHMt4f3WK2xsuQQeS CtYrkhVvxDqTgG4GpD46lLrdCJ75k650bBCxvT/97F0rFn1IKRY73LXb5n1gQHUVUeEy hEFSQ+DjCEm3pQt15cMjRty4lhK2ckvFuNKM/VkJNBK8kgx9Chq5iDX6uUj7z0O5vYlW sc6g==
- In-reply-to: <150213233319.ZM2658@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20150214015649.GA26370@vpn.5665sherbrooke.house> <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author