1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
return {
{
"vimwiki/vimwiki",
init = function()
vim.g.vimwiki_list = {
{
path = '/home/yigit/nextcloud/personal_wiki/text',
path_html = '/home/yigit/nextcloud/personal_wiki/html',
auto_generate_tags = 1,
automatic_nested_syntaxes = 1,
template_path = '/home/yigit/nextcloud/personal_wiki/templates',
template_default = 'default_template',
template_ext = '.html',
auto_export = 1,
auto_tags = 1
}
}
vim.g.vimwiki_global_ext = 0
vim.g.vimwiki_hl_headers = 1
end,
keys = {
{ "<leader>ww", "<Plug>VimwikiIndex", "vimwiki: goto wiki" },
{ "<leader>v", "<Plug>VimwikiToggleListItem", "vimwiki: toggle list item" },
{ "<leader>a", "<Plug>VimwikiAddHeaderLevel", "vimwiki: add header level" }
},
ft = { "vimwiki" }
},
}
|