mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +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",
|
type = "buffer",
|
||||||
-- Customize keymaps for the describe editor buffer
|
-- Customize keymaps for the describe editor buffer
|
||||||
keymaps = {
|
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 = {
|
editor = {
|
||||||
type = "buffer",
|
type = "buffer",
|
||||||
keymaps = {
|
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 = {
|
editor = {
|
||||||
type = "buffer",
|
type = "buffer",
|
||||||
keymaps = {
|
keymaps = {
|
||||||
close = { "<Esc>", "<C-c>", "q" },
|
close = { "<C-c>", "q" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user