we will replace this with ollama later

This commit is contained in:
♥ Minnie ♥ 2025-09-11 20:52:20 +08:00
parent 5d15d23276
commit ef436dbbba
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 0 additions and 111 deletions

View file

@ -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

View file

@ -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 = "<leader>ct";
action = "<cmd>CopilotChatToggle<cr>";
options = {
silent = true;
desc = "Toggle chat";
};
}
{
mode = ["n" "v"];
key = "<leader>cp";
action = "<cmd>CopilotChatPrompts<cr>";
options = {
silent = true;
desc = "Select prompt";
};
}
{
mode = ["n"];
key = "<leader>cm";
action = "<cmd>CopilotChatModels<cr>";
options = {
silent = true;
desc = "Select model";
};
}
{
mode = ["n"];
key = "<leader>ca";
action = "<cmd>CopilotChatAgents<cr>";
options = {
silent = true;
desc = "Select agent";
};
}
];
}

View file

@ -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 = "<leader>c";
action = "<Nop>";
options = {
desc = "+copilot";
};
}
{
mode = ["n"];
key = "<leader>ce";
action = "<cmd>Copilot enable<cr>";
options = {
silent = true;
desc = "Enable inline suggestions";
};
}
{
mode = ["n"];
key = "<leader>cd";
action = "<cmd>Copilot disable<cr>";
options = {
silent = true;
desc = "Disable inline suggestions";
};
}
];
}