1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-10-01 07:19:09 +00:00

[neovim] remove copilotchat plugin

This commit is contained in:
2025-09-20 15:44:52 +02:00
parent 61a1cd6430
commit d2ead8bace
4 changed files with 0 additions and 45 deletions

View File

@@ -171,18 +171,6 @@ keymap(
vim.tbl_extend("force", opts, { desc = "Run tests on the current file" })
)
-- Copilot
keymap({ "n", "v" }, "<leader>cop", function()
local actions = require("CopilotChat.actions")
require("CopilotChat.integrations.telescope").pick(actions.prompt_actions())
end, vim.tbl_extend("force", opts, { desc = "CopilotChat - Prompt actions" }))
keymap("n", "<leader>coq", function()
local input = vim.fn.input("Quick Chat: ")
if input ~= "" then
require("CopilotChat").ask(input, { selection = require("CopilotChat.select").buffer })
end
end, vim.tbl_extend("force", opts, { desc = "CopilotChat - Quick chat" }))
-- Better paste
keymap("v", "p", "P", vim.tbl_extend("force", opts, { desc = "Paste" }))