Added easy org mode file linking
This commit is contained in:
parent
14e64c8467
commit
208e66a6f5
2 changed files with 11 additions and 2 deletions
|
|
@ -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/",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,6 +70,10 @@ local plugins = {
|
|||
{ 'nvim-treesitter/nvim-treesitter', lazy = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
"ranjithshegde/orgWiki.nvim",
|
||||
dependencies = { { 'nvim-orgmode/orgmode' } },
|
||||
},
|
||||
-- Lightmode switcher
|
||||
'eliseshaffer/darklight.nvim'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue