diff --git a/README.md b/README.md index bfdba0d..4b31d5e 100644 --- a/README.md +++ b/README.md @@ -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 = { "", "", "q" }, -- Keys to close editor without saving + close = { "", "q" }, -- Keys to close editor without saving } } }, @@ -735,7 +735,7 @@ vim.keymap.set("n", "jA", annotate.line, { desc = "JJ annotate line" }) editor = { type = "buffer", keymaps = { - close = { "q", "", "" }, + close = { "q", "", "" }, -- Enable in the editor } } }, diff --git a/lua/jj/cmd/init.lua b/lua/jj/cmd/init.lua index c6e97f3..c1cc8b5 100644 --- a/lua/jj/cmd/init.lua +++ b/lua/jj/cmd/init.lua @@ -116,7 +116,7 @@ M.config = { editor = { type = "buffer", keymaps = { - close = { "", "", "q" }, + close = { "", "q" }, }, }, },