diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-15 22:16:10 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-15 22:16:10 +0900 |
| commit | 588f3e6499da480626fa3687a3750e0ac2fd49e7 (patch) | |
| tree | 012c8f51dbc3f7d285e302b639bf2b74ad32e8ee /ar | |
| parent | 74e7dd0f260daed67c60dfecec84922ba182329c (diff) | |
modified plugins/wiki.lua
Diffstat (limited to 'ar')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua | 10 |
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", |
