Removed copilot.nvim

This commit is contained in:
2025-03-24 09:37:41 +00:00
parent 5a67cc3f80
commit d835caf4cb
3 changed files with 0 additions and 41 deletions

View File

@@ -11,17 +11,6 @@ return {
{ "<leader>o", group = "[O]verseer" },
{ "<leader>h", group = "[H]arpoon" },
{ "<leader>x", group = "[X] Trouble" },
{ "<leader>|", group = "[|] Copilot" },
},
copilot = {
{ "<leader>||", "<cmd>Copilot toggle<cr>", desc = "[||] Toggle Copilot", mode = "n" },
{
"<leader>|t",
"<cmd>Copilot suggestion toggle_auto_trigger<cr>",
desc = "[|] [T]oggle inline suggestions",
mode = "n",
},
{ "<leader>|p", "<cmd>Copilot panel<cr>", desc = "[|] [P]anel", mode = "n" },
},
harpoon = {
{

View File

@@ -111,7 +111,6 @@ return { -- UI components and other visual elements are declared here
"filename",
},
lualine_x = {
{ "copilot", show_colors = true },
"encoding",
"fileformat",
"filetype",
@@ -139,11 +138,6 @@ return { -- UI components and other visual elements are declared here
},
},
},
{
"AndreM222/copilot-lualine",
event = "VeryLazy",
dependencies = { "zbirenbaum/copilot.lua" },
},
-- Assistant for refreshers on vim motions
{
"tris203/precognition.nvim",

View File

@@ -237,30 +237,6 @@ return { -- General programming utilities go here
"nvim-treesitter/nvim-treesitter",
},
},
-- Github copilot, cos its pretty handy
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
panel = {
auto_refresh = true,
layout = {
position = "right",
},
},
suggestion = {
keymap = {
accept = "<M-CR>",
accept_word = "<M-w>",
accept_line = "<M-f>",
},
},
})
end,
keys = require("config.keys").copilot,
},
-- Rust tools like inlay hints are absolutely essential
{ "simrat39/rust-tools.nvim", ft = "rust" },
}