diff --git a/config/default.nix b/config/default.nix index 100e0b3..a2315b0 100644 --- a/config/default.nix +++ b/config/default.nix @@ -13,8 +13,6 @@ # Completion & AI Assistancee ./plugins/cmp/cmp.nix - ./plugins/cmp/copilot.nix - ./plugins/cmp/copilot-chat.nix # Debugging (DAP) ./plugins/dap/dap.nix diff --git a/config/plugins/cmp/copilot-chat.nix b/config/plugins/cmp/copilot-chat.nix deleted file mode 100644 index 837c138..0000000 --- a/config/plugins/cmp/copilot-chat.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ ... }: { - plugins.copilot-chat = { - enable = true; - - # Copilot Chat settings. - settings = { - # Model to use for Copilot Chat. - model = "gpt-4.1"; - # Use all buffers for context. - context = "buffers"; - # Use yanked text for selection. - selection = "unnamed"; - # Don't highlight the selection. - highlight_selection = false; - # Window settings for Copilot Chat. - window = { - # Width of the chat window. - width = 0.3; - }; - }; - }; - - # Keymaps for Copilot Chat. - keymaps = [ - { - mode = ["n" "v"]; - key = "ct"; - action = "CopilotChatToggle"; - options = { - silent = true; - desc = "Toggle chat"; - }; - } - - { - mode = ["n" "v"]; - key = "cp"; - action = "CopilotChatPrompts"; - options = { - silent = true; - desc = "Select prompt"; - }; - } - - { - mode = ["n"]; - key = "cm"; - action = "CopilotChatModels"; - options = { - silent = true; - desc = "Select model"; - }; - } - - { - mode = ["n"]; - key = "ca"; - action = "CopilotChatAgents"; - options = { - silent = true; - desc = "Select agent"; - }; - } - ]; -} diff --git a/config/plugins/cmp/copilot.nix b/config/plugins/cmp/copilot.nix deleted file mode 100644 index 49caa9d..0000000 --- a/config/plugins/cmp/copilot.nix +++ /dev/null @@ -1,44 +0,0 @@ -{...}: { - plugins.copilot-vim = { - enable = true; - settings = { - # Disable Copilot by default. - enabled = 0; - # Use the following workspace folders to improve suggestions. - workspace_folders = [ - "/home/sajenim/.repositories/personal" - ]; - }; - }; - - keymaps = [ - { - mode = ["n" "v"]; - key = "c"; - action = ""; - options = { - desc = "+copilot"; - }; - } - - { - mode = ["n"]; - key = "ce"; - action = "Copilot enable"; - options = { - silent = true; - desc = "Enable inline suggestions"; - }; - } - - { - mode = ["n"]; - key = "cd"; - action = "Copilot disable"; - options = { - silent = true; - desc = "Disable inline suggestions"; - }; - } - ]; -}