Merge pull request #1 from lyz-code/docs/fix-installation
docs: fix configuration instructions
This commit is contained in:
commit
82126c04a0
@ -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