feat: history manager (#1644)

This commit is contained in:
yetone
2025-03-19 17:28:05 +08:00
committed by GitHub
parent f226df8348
commit 1c8cac1958
10 changed files with 271 additions and 51 deletions

View File

@@ -137,6 +137,12 @@ function H.keymaps()
function() require("avante.api").select_model() end,
{ desc = "avante: select model" }
)
Utils.safe_keymap_set(
"n",
Config.mappings.select_history,
function() require("avante.api").select_history() end,
{ desc = "avante: select history" }
)
end
if Config.behaviour.auto_suggestions then