Canop / Canop/broot

feature request: Fuzzy verb matching

Open
#642 5 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
12.9k
Forks
315
Avg merge
1d 6h
Merged PRs (30d)
6

Description

Short example: unless I'm missing something the only way to get `:copy_path` executed is starting typing it in full until you're at `:copy_p` because that is the only match. That's a lot of typing when being used to fuzzy matching :) My muscle memory just wants to do something like `:copa` which would fuzzy match copy_path first. Shortcuts could solve this partly but configuring and learning them by heart isn't really for me me.

I didn't look in the code but I'd assume it's a matter of replacing 'starts with query or equals some shortcut' with 'fuzzy matches query': note I left out shortcuts because I guess if this were to be implemented it should be a configurable mode since shortcuts and fuzzy matching together might clash too much.

Contributor guide

Open the contributing guide

Research direction

Start by locating broot's command matching and shortcut handling, then review the issue discussion for any decisions about fuzzy matching and configurability. Done means a query such as `:copa` can match `:copy_path` while the interaction with shortcuts is defined and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.