After many years of living in vanilla Emacs, I am playing with souping things up a bit, and trying out ivy
/counsel
.
I'm finding the experience of counsel-find-file
a bit jarring, because it does not tab me where my years of muscle memory expect to tab, or really where I think is preferable.
For example, I have directories
~/development/contrib-git/ # projects not mine I contribute to
~/development/gitproj/ # projects mostly mine
When I type ~/development/git<tab>
, I'd expect it to tab into gitproj
, but in fact, the regex-based completion list shows contrib-git
first, so often I find myself unwantedly there.
I've tried modifying ivy-initial-inputs-alist
to place a ^
prefix automatically into counsel-find-files
, but this doesn't help, it only places that at the beginning of the full path, not at the beginning of each element. I can manually type ^
at the beginning of each element, but that's not so fluid.
And I don't at all mind the much richer completion list! I just want, for each path segment, the first item in the completion ordering, the one I'll tab into if I don't navigate downwards, to be the one containing the prefix I have actually typed.
Is there any way to configure this?
Many thanks!