Added easy org mode file linking

This commit is contained in:
Warwick 2023-12-14 18:36:19 +00:00
parent 14e64c8467
commit 208e66a6f5
2 changed files with 11 additions and 2 deletions

View file

@ -15,8 +15,8 @@ require('nvim-treesitter.configs').setup {
}
require('orgmode').setup({
org_agenda_files = {'~/.vimwiki/**.org'},
org_default_notes_file = '~/.vimwiki/refile.org',
org_agenda_files = {'~/.vimwiki/org/**.org'},
org_default_notes_file = '~/.vimwiki/org/refile.org',
})
require('cmp').setup({
@ -24,3 +24,8 @@ require('cmp').setup({
{ name = 'orgmode' }
}
})
require("orgWiki").setup {
wiki_path = { "~/.vimwiki/org/" },
diary_path = "~/.vimwiki/org/diary/",
}

View file

@ -70,6 +70,10 @@ local plugins = {
{ 'nvim-treesitter/nvim-treesitter', lazy = true },
},
},
{
"ranjithshegde/orgWiki.nvim",
dependencies = { { 'nvim-orgmode/orgmode' } },
},
-- Lightmode switcher
'eliseshaffer/darklight.nvim'
}