Updates vimwiki config

This commit is contained in:
Dennis Schoepf 2025-04-02 20:28:46 +02:00
parent b7c4f190af
commit 97c2db44cb
2 changed files with 8 additions and 1 deletions

View file

@ -1,7 +1,9 @@
return {
"vimwiki/vimwiki",
init = function()
vim.g.vimwiki_list = { { path = "~/notes", syntax = "markdown", ext = "md" } }
vim.g.vimwiki_list = { { path = "~/notes", syntax = "markdown", ext = ".md", links_space_char = "-" } }
vim.g.vimwiki_ext2syntax = { [".md"] = "markdown" }
vim.g.vimwiki_map_prefix = "<Leader>o"
vim.g.vimwiki_global_ext = 1
end,
}