feat: add alexandria as vault for obsidian nvim
This commit is contained in:
parent
aeadb0a9d3
commit
b9441f350f
2 changed files with 5 additions and 1 deletions
|
@ -249,6 +249,10 @@ return {
|
|||
name = "vault",
|
||||
path = "~/Documents/vaults/vault",
|
||||
},
|
||||
{
|
||||
name = "alexandria",
|
||||
path = "~/Documents/alexandria/content",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
|
|
@ -2,7 +2,7 @@ vim.api.nvim_create_user_command("VaultSync", function()
|
|||
local date = os.date("%Y-%m-%d %H:%M:%S")
|
||||
local commit_commands = {
|
||||
"git add -A",
|
||||
string.format([[git commit -m "neovim-update: %s"]], date),
|
||||
string.format([[git commit -m "auto-update(nvim): %s"]], date),
|
||||
}
|
||||
for _, cmd in ipairs(commit_commands) do
|
||||
vim.fn.system(cmd)
|
||||
|
|
Loading…
Reference in a new issue