docs: fix configuration instructions

This commit is contained in:
Lyz 2023-03-01 13:15:41 +01:00
parent eabff061c3
commit d09be0b18e
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -26,7 +26,7 @@ To replace the default refile prompt:
```lua
vim.api.nvim_create_autocmd('FileType', {
pattern = 'org',
group = vim.api.nvim_create_augroup('orgmode_telescope_nvim', { clear = true })
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,