docs: fix configuration instructions
This commit is contained in:
parent
eabff061c3
commit
d09be0b18e
@ -26,7 +26,7 @@ To replace the default refile prompt:
|
|||||||
```lua
|
```lua
|
||||||
vim.api.nvim_create_autocmd('FileType', {
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
pattern = 'org',
|
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()
|
callback = function()
|
||||||
vim.keymap.set('n', '<leader>or', require('telescope').extensions.orgmode.refile_heading)
|
vim.keymap.set('n', '<leader>or', require('telescope').extensions.orgmode.refile_heading)
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user