From 588f3e6499da480626fa3687a3750e0ac2fd49e7 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 15 Jun 2025 22:16:10 +0900 Subject: modified plugins/wiki.lua --- ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ar') 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 = { - { "swp", false }, - { "rwp", false }, - { "wp", "SaveWinPosn", noremap = false, desc = "Save window position" }, - { "rp", "RestoreWinPosn", noremap = false, desc = "Restore window position" }, - }, + config = function() + pcall(vim.keymap.del, "n", "swp") + pcall(vim.keymap.del, "n", "rwp") + end, }, "majutsushi/tagbar", "farseer90718/vim-taskwarrior", -- cgit v1.2.3