Add obsidian, remove orgmode
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
local M = {
|
||||
"obsidian-nvim/obsidian.nvim",
|
||||
version = "*", -- use latest release, remove to use latest commit
|
||||
---@module 'obsidian'
|
||||
---@type obsidian.config
|
||||
opts = {
|
||||
legacy_commands = false, -- this will be removed in 4.0.0
|
||||
workspaces = {
|
||||
{
|
||||
name = "personal",
|
||||
path = "~/Notes/",
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
return M
|
||||
@@ -1,32 +0,0 @@
|
||||
local M = {
|
||||
{
|
||||
"nvim-orgmode/orgmode",
|
||||
tag = "0.7.0",
|
||||
event = "VeryLazy",
|
||||
ft = { "org" },
|
||||
config = function()
|
||||
require("orgmode").setup({
|
||||
or_startup_folded = 'showeverything',
|
||||
org_agenda_files = "~/org/**/*",
|
||||
org_default_notes_file = "~/org/refile.org",
|
||||
})
|
||||
|
||||
-- Create TANGLE command
|
||||
vim.api.nvim_create_user_command("TANGLE", function()
|
||||
require("orgmode").action("org_mappings.org_babel_tangle")
|
||||
end, {})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"chipsenkbeil/org-roam.nvim",
|
||||
tag = "0.2.0",
|
||||
config = function()
|
||||
require("org-roam").setup({
|
||||
directory = "~/org",
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user