From 7656d55df3f0cf97e08be31dd6f13f995e0205b7 Mon Sep 17 00:00:00 2001 From: Yaser Alraddadi Date: Wed, 30 Oct 2024 15:59:39 +0300 Subject: [PATCH] update --- lua/custom/plugins/copilot.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua index 6b1fb163..988d8104 100644 --- a/lua/custom/plugins/copilot.lua +++ b/lua/custom/plugins/copilot.lua @@ -49,7 +49,7 @@ return { -- row = 1, -- }, model = 'gpt-4o', -- GPT model to use, 'gpt-3.5-turbo', 'gpt-4', or 'gpt-4o', 'o1-mini', 'o1-preview' - clear_chat_on_new_prompt = true, + -- clear_chat_on_new_prompt = true, }, -- See Commands section for default commands if you want to lazy load on them -- @@ -66,5 +66,9 @@ return { -- desc = 'CopilotChat - Quick chat', -- }, -- }, + keys = { + -- { 'ccq', 'CopilotChatOpen', mode = 'x', desc = 'CopilotChat' }, + { 'ccq', ':CopilotChat ', mode = 'x', desc = 'CopilotChat' }, + }, }, }