feat(refile): improve ux by matching files more fuzzily
Hi, I really like this project!
I'm using the org-roam plugin, and it will prefix every file with the current timestamp to make sure it's unique (e.g. 20241013095846-helloworld.org).
Refiling to such files is really inconvenient as I need to circle through all filenames with the TAB key.
Searching for it is really cumbersome as I'd have to type in the exact timestamp of this orgfile.
My suggestion is to remove the anchor (^) from the file pattern matching, and allow the search string to be anywhere in the filename.
This way I can just type hello or even world to quickly select the refile target.
Hm, tests with nightly are failing. But I like to see this improved. Update: Failing nightly tests are not your fault, seems to be a problem on master. @kristijanhusak Do you know, what is wrong with the nightly tests?
May I also recommend telescope-orgmode.nvim to you? It also implements refiling to files and headlines and embraces the full fuzziness of Telescope.
@seflue tree-sitter was updated on master and it broke some of the functionality. I created an issue to track that https://github.com/nvim-orgmode/orgmode/issues/813. If other versions are passing we are ok.
Thanks!