nixvim: rm copilot stuff i never use
This commit is contained in:
parent
f28234e555
commit
ed929219da
1 changed files with 1 additions and 40 deletions
|
@ -71,41 +71,6 @@
|
||||||
key = "<C-e>";
|
key = "<C-e>";
|
||||||
mode = "i";
|
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 = {
|
plugins.cmp = {
|
||||||
|
@ -196,11 +161,7 @@
|
||||||
nix.flake.autoArchive = true;
|
nix.flake.autoArchive = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
rust_analyzer = {
|
rust_analyzer.enable = true;
|
||||||
enable = true;
|
|
||||||
installRustc = true;
|
|
||||||
installCargo = true;
|
|
||||||
};
|
|
||||||
eslint.enable = true;
|
eslint.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue