-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(refile): improve ux by matching files more fuzzily #815
feat(refile): improve ux by matching files more fuzzily #815
Conversation
Hm, tests with nightly are failing. But I like to see this improved. May I also recommend telescope-orgmode.nvim to you? It also implements refiling to files and headlines and embraces the full fuzziness of Telescope. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you can make the matching case insensitive (see suggestions) I would very appreciate to see this merged, because it improves the usability a lot.
691b1e7
to
79024f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but we don't need vim.pesc
so you can remove that part.
79024f4
to
d21d288
Compare
Thanks! |
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 evenworld
to quickly select the refile target.