Closed GitMurf closed 1 month ago
Hii, I find that the generic find files is enough for my workflow but if you have this need I'm fine merging it as long as it doesn't replace the current behaviour
yeah the proposal would just be an added feature and not change any of the current features. there would be a third option called something like: orgmode.open_org_file
or orgmode.find_org_files
. @lyz-code do you have thoughts / preferences on a name for it?
I feel that orgmode.find_org_files
feels more natural
@GitMurf This feature was already in the plugin before I overtook the maintenance. But it wasn't documented. Now it is. It is basically usable for all three major operations you can currently do with telescope-orgmode: navigate, refile and insert link.
You can now achieve this by :Telescope orgmode search_headings mode=orgfiles
or by creating a keymap:
vim.keymap.set("n", "of", function()
require("telescope").extensions.orgmode.search_headings({ mode = "orgfiles" })
end)
@lyz-code one feature I was thinking of implementing is an option to view all org files in a Telescope picker to choose from to open. Basically just like core telescope find files but for your org files. I find most of the time I actually end up using the search headlines feature just so I can do this when it would be cleaner to just have a simple picker with a simple list of org file names with the benefit of using telescopes fuzzy find.
Thoughts?