we will replace this with ollama later
This commit is contained in:
parent
5d15d23276
commit
ef436dbbba
3 changed files with 0 additions and 111 deletions
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
# Completion & AI Assistancee
|
# Completion & AI Assistancee
|
||||||
./plugins/cmp/cmp.nix
|
./plugins/cmp/cmp.nix
|
||||||
./plugins/cmp/copilot.nix
|
|
||||||
./plugins/cmp/copilot-chat.nix
|
|
||||||
|
|
||||||
# Debugging (DAP)
|
# Debugging (DAP)
|
||||||
./plugins/dap/dap.nix
|
./plugins/dap/dap.nix
|
||||||
|
|
|
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue