From bfb5321a9397ccd61e91a703ec69a07c31e9c809 Mon Sep 17 00:00:00 2001 From: jasmine Date: Wed, 6 Aug 2025 20:19:54 +0800 Subject: [PATCH] chore: remove ai slop generators --- config/default.nix | 4 +- config/plugins/cmp/copilot-chat.nix | 65 ----------------------------- config/plugins/cmp/copilot.nix | 44 ------------------- 3 files changed, 1 insertion(+), 112 deletions(-) delete mode 100644 config/plugins/cmp/copilot-chat.nix delete mode 100644 config/plugins/cmp/copilot.nix diff --git a/config/default.nix b/config/default.nix index 100e0b3..09e498e 100644 --- a/config/default.nix +++ b/config/default.nix @@ -11,10 +11,8 @@ ./plugins/collections/mini.nix ./plugins/collections/snacks.nix - # Completion & AI Assistancee + # Completion ./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"; - }; - } - ]; -}