reddit / emacs

[projectile]: case insensitivity for file search

codethrasher · 2022-08-23 21:40
Is this possible? I was looking through the src of `projectile-find-file`, but didn't see anything. It would be nice if my fat-fingered mistakes (e.g. `myFile` isntead of `myfile`) could be overlooked.
deaddyfreddy · 2022-08-23 21:50
it doesn't have anything to do with projectile, but with your minibuffer completion system. for `ivy`/`counsel` there's `ivy-re-builders-alist` you may have interest in.
codethrasher · 2022-08-23 21:51
Ah, ok. That's good to know. I'm using helm (for now), so I'll start poking around there. Thank you!
sebhoagie · 2022-08-24 19:19
If you set the option `read-file-name-completion-ignore-case` to `t`, then `find-file` and friends are case insensitive. I don't use Projectile anymore, third party packages can of course override/ignore this setting.