mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-05 02:36:07 +00:00
fix(describe/keymaps): Remove <ESC> from default keymap which may not be a
sensitive default after some users feedback
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@ M.config = {
|
||||
editor = {
|
||||
type = "buffer",
|
||||
keymaps = {
|
||||
close = { "<Esc>", "<C-c>", "q" },
|
||||
close = { "<C-c>", "q" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user