Skip to content

Commit 29607be

Browse files
committed
[Neovim] Add obsidian.nvim config
This was intended for 8d2bb2c. The downside to hiding untracked files (since YADM is based out of my home directory) is that it's easy to miss files.
1 parent ef1190e commit 29607be

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.config/nvim/plugin/obsidian.lua

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
vim.schedule(function()
2+
vim.pack.add({
3+
"https://github.com/obsidian-nvim/obsidian.nvim",
4+
})
5+
6+
require("obsidian").setup({
7+
daily_notes = {
8+
folder = "daily",
9+
workdays_only = false,
10+
},
11+
footer = {
12+
enabled = false,
13+
},
14+
link = {
15+
style = "markdown",
16+
},
17+
note_id_func = require("obsidian.builtin").title_id,
18+
picker = {
19+
name = "snacks",
20+
},
21+
workspaces = {
22+
{
23+
name = "home",
24+
path = "~/.local/share/nvim/obsidian/home",
25+
},
26+
{
27+
name = "work",
28+
path = "~/.local/share/nvim/obsidian/work",
29+
},
30+
},
31+
})
32+
end)

0 commit comments

Comments
 (0)