Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzy reverse search #32

Open
JoelKronander opened this issue Dec 20, 2022 · 1 comment
Open

Fuzzy reverse search #32

JoelKronander opened this issue Dec 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@JoelKronander
Copy link
Collaborator

One of the commands I most often in the terminal is reverse search CTRL+R

however you have to remember the first exact letters of an old command to use it.

What if copilot had a built in reverse search that was more like fuzzy matching.
It looks at your command history and picks the most semantically similar (could probably do an embedding search or just use a prompt to select which one.

I imagine it working like

copilot -rs that command I used in the past but forgot exactly how it was typed.

@JoelKronander JoelKronander added the enhancement New feature or request label Dec 20, 2022
@2mawi2
Copy link
Contributor

2mawi2 commented Dec 21, 2022

Do you mean an actual autocomplete ? What would copilot the actual command infer from ? The current context ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants