Having written use-pack I press C-M-i to begin completion.

I type age but ivy still does not match use-package

Rather than select a completion or quit with C-g (which would make me lose the age that I've typed), I C-M-j (ivy-immediate-done) to just keep what I'd written. But this deletes the prefix to the completion.

I think the problem is twofold:
- The matcher for in-buffer completion should prioritize exact matches
- C-M-j should insert what I've typed but not delete the prefix
Having written
use-packI pressC-M-ito begin completion.I type
agebut ivy still does not matchuse-packageRather than select a completion or quit with
C-g(which would make me lose theagethat I've typed), IC-M-j(ivy-immediate-done) to just keep what I'd written. But this deletes the prefix to the completion.I think the problem is twofold: