From ba5f6cb07bbe65547700c16f9008f36ad5d2a01a Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Sun, 26 Jan 2025 04:10:56 +0100 Subject: [PATCH] chore(avante): update configuration --- lua/custom/plugins/avante.lua | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/lua/custom/plugins/avante.lua b/lua/custom/plugins/avante.lua index 5dfe2ee..266a427 100644 --- a/lua/custom/plugins/avante.lua +++ b/lua/custom/plugins/avante.lua @@ -8,6 +8,26 @@ return { submit = { insert = "" } + }, + 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", @@ -37,8 +57,4 @@ return { ft = { "markdown", "Avante" }, }, }, - keys = { - { "at", "AvanteToggle", desc = "Toggle Avante" }, - { "af", "AvanteFocus", desc = "Focus Avante" }, - } }