fix(describe/keymaps): Remove <ESC> from default keymap which may not be a

sensitive default after some users feedback
This commit is contained in:
NicolasGB
2026-02-02 17:08:39 +01:00
parent 680d864e11
commit 400a3a5263
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -334,7 +334,7 @@ The plugin also provides `:Jdiff`, `:Jvdiff`, and `:Jhdiff` commands for diffing
type = "buffer",
-- Customize keymaps for the describe editor buffer
keymaps = {
close = { "<Esc>", "<C-c>", "q" }, -- Keys to close editor without saving
close = { "<C-c>", "q" }, -- Keys to close editor without saving
}
}
},
@@ -735,7 +735,7 @@ vim.keymap.set("n", "<leader>jA", annotate.line, { desc = "JJ annotate line" })
editor = {
type = "buffer",
keymaps = {
close = { "q", "<Esc>", "<C-c>" },
close = { "q", "<Esc>", "<C-c>" }, -- Enable <Esc> in the editor
}
}
},