further configure obsidian

This commit is contained in:
jc 2024-05-30 20:48:48 -04:00
commit 8c942afe7f
No known key found for this signature in database
2 changed files with 18 additions and 2 deletions

View file

@ -24,7 +24,16 @@ return {
path = "~/Documents/Obsidian Vault",
},
},
-- see below for full list of options 👇
follow_url_func = function(url)
vim.fn.jobstart({ "open", url })
end,
},
mappings = {
["<CR>"] = {
action = function()
return require("obsidian").util.smart_action()
end,
opts = { noremap = false, expr = true, buffer = true },
},
},
}