From de445f9cf40a4e9c2e4ae87cc2ee7499208cd4ae Mon Sep 17 00:00:00 2001 From: zsmith Date: Wed, 27 Aug 2025 10:24:11 -0500 Subject: Move vimwiki path to ~/.local/share This is more XDG compliant. --- nvim/lua/plugins.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 183a20d..3684b89 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -14,7 +14,15 @@ vim.opt.rtp:prepend(lazypath) require("lazy").setup({ -- LSP manager { "mason-org/mason.nvim", opts = {} }, - "vimwiki/vimwiki", + {"vimwiki/vimwiki", + init = function() + vim.g.vimwiki_list = { + { + path = '~/.local/share/vimwiki' + }, + } + end, + }, { "mason-org/mason-lspconfig.nvim", dependencies = { -- cgit v1.2.3 From 6d41b928fad9c472281d6ea0d058e3eca58a1e15 Mon Sep 17 00:00:00 2001 From: zsmith Date: Wed, 27 Aug 2025 10:24:40 -0500 Subject: Add comments to vimwiki --- nvim/lua/vimwiki.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/lua/vimwiki.lua b/nvim/lua/vimwiki.lua index c7a815b..43b8aa6 100644 --- a/nvim/lua/vimwiki.lua +++ b/nvim/lua/vimwiki.lua @@ -1,5 +1,7 @@ +-- Required for Vimwiki to work vim.opt.compatible = false +-- Vimwiki Keybindings local opts = { noremap = false, silent = true, -- cgit v1.2.3