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.
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.