diff --git a/lua/config/keys.lua b/lua/config/keys.lua index 6c0cd23..ab74f60 100644 --- a/lua/config/keys.lua +++ b/lua/config/keys.lua @@ -11,17 +11,6 @@ return { { "o", group = "[O]verseer" }, { "h", group = "[H]arpoon" }, { "x", group = "[X] Trouble" }, - { "|", group = "[|] Copilot" }, - }, - copilot = { - { "||", "Copilot toggle", desc = "[||] Toggle Copilot", mode = "n" }, - { - "|t", - "Copilot suggestion toggle_auto_trigger", - desc = "[|] [T]oggle inline suggestions", - mode = "n", - }, - { "|p", "Copilot panel", desc = "[|] [P]anel", mode = "n" }, }, harpoon = { { diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index b2f75a1..d668068 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -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", diff --git a/lua/plugins/utils.lua b/lua/plugins/utils.lua index 30c065b..7bd6771 100644 --- a/lua/plugins/utils.lua +++ b/lua/plugins/utils.lua @@ -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 = "", - accept_word = "", - accept_line = "", - }, - }, - }) - end, - keys = require("config.keys").copilot, - }, -- Rust tools like inlay hints are absolutely essential { "simrat39/rust-tools.nvim", ft = "rust" }, }