skywind3000 / skywind3000/z.lua
[Feature Request] Fuzzy matching as a fallback
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
One feature I really liked in fasd is, that fuzzy matching is performed, when the other matching algorithms to not yield a result.
Comparison of matching algorithms in fasd and z.lua:
fasd
- Queries match the path in order (same as default method).
- The last query matches the last segment of the path.
- If no match is found, fasd will try the same process ignoring case. If still no match is found, fasd will allow extra characters to be placed between query characters for fuzzy matching.
z.lua
- Queries match the path in order (same as default method).
- The last query matches the last segment of the path.
Did you consider to make the 3rd matching algorithm available in z.lua?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing z.lua's existing matching algorithms and compare them with the fasd sequence described in the issue. Determine where a fallback fuzzy-matching step would fit after the current methods; done means unmatched queries can use extra characters between query characters as a final fallback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100