From fa4c1b824baa744562679f25715e7027c7704ab8 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 15 Jun 2026 08:27:33 +0200 Subject: feat: remove copilot plugin, keymaps and statusline indicator --- nvim/lua/config/keymaps.lua | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'nvim/lua/config/keymaps.lua') diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua index b776697..a2777e6 100644 --- a/nvim/lua/config/keymaps.lua +++ b/nvim/lua/config/keymaps.lua @@ -66,36 +66,6 @@ function M.gitsigns() map("n", "tb", require("gitsigns").toggle_current_line_blame) end -function M.copilot() - if vim.fn.exists(":Copilot") == 0 then return end - - map("n", "ct", function() - local status = vim.fn["copilot#Enabled"]() - - if status == 1 then - vim.cmd("Copilot disable") - print("Copilot disabled") - else - vim.cmd("Copilot enable") - print("Copilot enabled") - end - end, { desc = "Copilot Toggle" }) - - map("n", "ce", function() - vim.cmd("Copilot enable") - print("Copilot enabled") - end, { desc = "Copilot Enable" }) - - map("n", "cd", function() - vim.cmd("Copilot disable") - print("Copilot disabled") - end, { desc = "Copilot Disable" }) - - map("n", "cs", function() - vim.cmd("Copilot status") - end, { desc = "Copilot Status" }) -end - function M.global() local opts = { silent = true, -- cgit v1.3