nixvim: rm copilot stuff i never use

This commit is contained in:
cy 2025-03-18 23:16:06 -04:00
parent f28234e555
commit ed929219da
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

@ -71,41 +71,6 @@
key = "<C-e>";
mode = "i";
}
# quick chat with copilot
{
key = "<leader>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 = "<leader>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;
};
};