feat(mapping): plug and expose API (#346)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-28 23:56:00 -04:00
committed by GitHub
parent 8a683b053b
commit 2e6a26240e
5 changed files with 201 additions and 57 deletions

View File

@@ -88,10 +88,7 @@ M.defaults = {
},
},
mappings = {
ask = "<leader>aa",
edit = "<leader>ae",
refresh = "<leader>ar",
--- @class AvanteConflictMappings
---@class AvanteConflictMappings
diff = {
ours = "co",
theirs = "ct",
@@ -108,6 +105,10 @@ M.defaults = {
normal = "<CR>",
insert = "<C-s>",
},
-- NOTE: The following will be safely set by avante.nvim
ask = "<leader>aa",
edit = "<leader>ae",
refresh = "<leader>ar",
toggle = {
debug = "<leader>ad",
hint = "<leader>ah",