From ed929219da13b0927a750bf4d71c8e9842e558df Mon Sep 17 00:00:00 2001 From: cy Date: Tue, 18 Mar 2025 23:16:06 -0400 Subject: [PATCH] nixvim: rm copilot stuff i never use --- home/nixvim/default.nix | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/home/nixvim/default.nix b/home/nixvim/default.nix index 94895c1..39c3ba9 100644 --- a/home/nixvim/default.nix +++ b/home/nixvim/default.nix @@ -71,41 +71,6 @@ key = ""; mode = "i"; } - # quick chat with copilot - { - key = "ccq"; - action.__raw = '' - function() - local input = vim.fn.input("Quick chat: ") - if input ~= "" then - require("CopilotChat").ask(input, { selection = require("CopilotChat.select").buffer }) - end - end - ''; - mode = [ - "n" - "v" - ]; - } - # ask perplexity a quick question - { - key = "ccs"; - action.__raw = '' - function() - local input = vim.fn.input("Perplexity: ") - if input ~= "" then - require("CopilotChat").ask(input, { - agent = "perplexityai", - selection = false, - }) - end - end - ''; - mode = [ - "n" - "v" - ]; - } ]; plugins.cmp = { @@ -196,11 +161,7 @@ nix.flake.autoArchive = true; }; }; - rust_analyzer = { - enable = true; - installRustc = true; - installCargo = true; - }; + rust_analyzer.enable = true; eslint.enable = true; }; };