-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I use https://github.com/nvim-telescope/telescope.nvim, which is very configurable. You could configure it with the same Org agenda files list, I suppose, and map it to a hot key to search. |
Beta Was this translation helpful? Give feedback.
-
I actually recommend the plugin Telescope-orgmode.nvim. You can map a keybinding directly to find all your agenda files, but also all your headers in all your agenda files. You can also switch between these two modes. I'm now maintaining this plugin and I also added features for convenient refiling and link insertion. The latter plays also nicely with org-roam, when you use id-based links. It uses org_store_link and org_insert_link under the hood. |
Beta Was this translation helpful? Give feedback.
-
Not really a solution, but in case you want to build your own, you can get the list of all agenda file names like this: local filenames = vim.tbl_map(function(file) return file.filename end, require('orgmode.api').load()) and then just pipe those through some fuzzy finder. https://github.com/nvim-orgmode/telescope-orgmode.nvim is probably the best option if you are using telescope. |
Beta Was this translation helpful? Give feedback.
I actually recommend the plugin Telescope-orgmode.nvim. You can map a keybinding directly to find all your agenda files, but also all your headers in all your agenda files. You can also switch between these two modes.
I'm now maintaining this plugin and I also added features for convenient refiling and link insertion. The latter plays also nicely with org-roam, when you use id-based links. It uses org_store_link and org_insert_link under the hood.