elvish icon indicating copy to clipboard operation
elvish copied to clipboard

`edit:histlist:start` takes current command as initial filter

Open brunoroque06 opened this issue 3 years ago • 0 comments

If I begin typing a command, and then trigger edit:histlist:start, the filter will start empty. I think there should be an option for the filter to be equal to the current command.

I think I understand the motivation for the current behavior; it is great to compose commands, one after the other with ;. But the problem is when we realize we want to search the history while typing the command, which then requires us to delete what we have typed so far, trigger edit:histlist:start, and type again the command. What do you think?

brunoroque06 avatar Aug 05 '22 20:08 brunoroque06