chore(avante): update configuration

This commit is contained in:
Simon Lasbrugnas 2025-01-26 04:10:56 +01:00
parent 29b62eb72f
commit ba5f6cb07b
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -8,6 +8,26 @@ return {
submit = { submit = {
insert = "<C-s>" insert = "<C-s>"
} }
},
windows = {
width = 45,
sidebar_header = {
enabled = false,
},
input = {
prefix = "",
height = 5,
},
ask = {
floating = false,
start_insert = true,
border = "rounded",
focus_on_apply = "ours",
},
edit = {
border = "rounded",
start_insert = false,
},
} }
}, },
build = "make", build = "make",
@ -37,8 +57,4 @@ return {
ft = { "markdown", "Avante" }, ft = { "markdown", "Avante" },
}, },
}, },
keys = {
{ "<leader>at", "<cmd>AvanteToggle<CR>", desc = "Toggle Avante" },
{ "<leader>af", "<cmd>AvanteFocus<CR>", desc = "Focus Avante" },
}
} }