Open markdown file in Obsidian from neovim. Diary template autocmd. Enable custom plugins. Wiki.lua modif 1.
:
This commit is contained in:
parent
707eb0e1b3
commit
78ebb23bac
2 changed files with 118 additions and 2 deletions
|
|
@ -6,6 +6,7 @@ return {
|
|||
-- { "<leader>wz", "<cmd>Vimwiki2HTML<cr>", desc = "Vimwiki2HTML" },
|
||||
-- { "<leader>wx", "<cmd>VimwikiAll2HTML<cr>", desc = "VimwikiAll2HTML" },
|
||||
},
|
||||
cmd = 'VimwikiIndex', -- Add this command to load Vimwiki
|
||||
init = function()
|
||||
vim.g.vimwiki_list = {
|
||||
{
|
||||
|
|
@ -16,9 +17,10 @@ return {
|
|||
-- custom_wiki2html = "~/.vim/autoload/vimwiki/convert.py",
|
||||
-- Auto update diary index
|
||||
auto_diary_index = 1,
|
||||
links_space_char = '-', -- Replace spaces with hyphens in links
|
||||
},
|
||||
}
|
||||
-- Treat markdown files as markdown files, not wiki files
|
||||
-- Register markdown files
|
||||
-- vim.g.vimwiki_ext2syntax = {
|
||||
-- ['.md'] = 'markdown',
|
||||
-- ['.markdown'] = 'markdown',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue