From 42d2411bfa1d6fcc5edc20ee6dbc0dff0f0fba6e Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 9 Feb 2023 22:49:07 +0100 Subject: [PATCH] fix(leap): don't use the x and X mappings in visual mode --- lua/lazyvim/plugins/editor.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 22faebaf..067540dd 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -150,6 +150,8 @@ return { leap.opts[k] = v end leap.add_default_mappings(true) + vim.keymap.del({ "x", "o" }, "x") + vim.keymap.del({ "x", "o" }, "X") end, },