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 local map = require("helpers.keys").map --toggle checkmarks map('n', 'v', 'VimwikiToggleListItem', "vimwiki: toggle checkmark") -- add/increase header level map('n', 'a', 'VimwikiAddHeaderLevel', "vimwiki: add header level") end, }, }