Integration for orgmode with telescope.nvim.
Jump to to any heading in org_agenda_files
with :Telescope orgmode search_headings
Refile heading from capture or current file under destination with :Telescope orgmode refile_heading
You can setup the extension by doing:
require('telescope').load_extension('orgmode')
To replace the default refile prompt:
vim.api.nvim_create_autocmd('FileType', {
pattern = 'org',
group = vim.api.nvim_create_augroup('orgmode_telescope_nvim', { clear = true })
callback = function()
vim.keymap.set('n', '<leader>or', require('telescope').extensions.orgmode.refile_heading)
end,
})
:Telescope orgmode search_headings
:Telescope orgmode refile_heading
require('telescope').extensions.orgmode.search_headings
require('telescope').extensions.orgmode.refile_heading