Adds nvim config as home manager module

This commit is contained in:
Dennis Schoepf 2025-01-24 21:49:07 +01:00
parent 5a9ad9bbd1
commit 98f4a6679e
34 changed files with 1260 additions and 0 deletions

View file

@ -0,0 +1,28 @@
return {
"epwalsh/obsidian.nvim",
version = "*", -- recommended, use latest release instead of latest commit
lazy = true,
ft = "markdown",
event = {
"BufReadPre /home/dennis/notes/**.md",
"BufNewFile /home/dennis/notes/**.md",
},
opts = {
workspaces = {
{
name = "notes",
path = "~/notes",
},
},
daily_notes = {
-- Optional, if you keep daily notes in a separate directory.
folder = "~/notes/001_dailies",
-- Optional, if you want to change the date format for the ID of daily notes.
date_format = "%Y-%m-%d",
-- Optional, if you want to change the date format of the default alias of daily notes.
alias_format = "%B %-d, %Y",
-- Optional, if you want to automatically insert a template from your template directory like 'daily.md'
template = nil,
},
},
}