-
-
Couldn't load subscription status.
- Fork 151
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hallo,
{
"<leader>ae",
function()
local copilot = require("CopilotChat")
copilot.ask("Explain code underneath")
end,
desc = "Explain code underneath (CopilotChat)",
mode = { "n", "v" },
},Consider this snippet as example, everything works fine, my last wish is that I don't want to focus copilot-chat window and for cursor to stay where it was before.
I think relevant line is here, but I don't fully understand logic behind checks if we are indeed in copilot-chat window and if I create flag and optionally disable vim.api.nvim_set_current_win(self.winnr) visual selection stops working.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request