summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua
index a48bb74..eda6e6f 100644
--- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua
+++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua
@@ -48,12 +48,10 @@ return {
"vimwiki/vimwiki",
{
"powerman/vim-plugin-AnsiEsc",
- keys = {
- { "<leader>swp", false },
- { "<leader>rwp", false },
- { "<leader>wp", "<Plug>SaveWinPosn", noremap = false, desc = "Save window position" },
- { "<leader>rp", "<Plug>RestoreWinPosn", noremap = false, desc = "Restore window position" },
- },
+ config = function()
+ pcall(vim.keymap.del, "n", "<leader>swp")
+ pcall(vim.keymap.del, "n", "<leader>rwp")
+ end,
},
"majutsushi/tagbar",
"farseer90718/vim-taskwarrior",