Merge pull request #1 from lyz-code/docs/fix-installation

docs: fix configuration instructions
This commit is contained in:
Lyz 2023-11-28 02:35:12 +00:00 committed by GitHub
commit 82126c04a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,