Find files anywhere, updated for 2026 #

Back in 2017 I posted my emacs set up for finding files globally. I tend to work with lots of small projects instead of mainly with one at a time. When I use find-file I have to switch folders quite often. If I've already opened the file I can use switch-to-buffer, but then I have to remember whether I have the file open. If I've opened it recently I can use recentf. If I'm opening something in the same project I can use project-find-file. But a lot of times it's easier to use something based on locate, like icicle-locate or consult-locate. But locate is too broad. I want to find one of my files, not one of the files on my disk. I essentially want to treat my home folder as one big project.

In 2014 I was using helm; in 2016 I had switched to ivy; now I use the vertico+marginalia stack. I'm posting the updated code here:

Find files globally

Labels: