Remove avante
This commit is contained in:
parent
171623d9a4
commit
3d5d391b24
3 changed files with 4 additions and 27 deletions
|
|
@ -1,18 +0,0 @@
|
||||||
return {
|
|
||||||
"yetone/avante.nvim",
|
|
||||||
opts = {
|
|
||||||
provider = "opencode",
|
|
||||||
{
|
|
||||||
acp_providers = {
|
|
||||||
["opencode"] = {
|
|
||||||
command = "opencode",
|
|
||||||
args = { "acp" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{ "<leader>aa", "<cmd>AvanteAsk<CR>", mode = { "n", "v" }, desc = "Ask Avante" },
|
|
||||||
{ "<leader>ae", "<cmd>AvanteEdit<CR>", mode = { "n", "v" }, desc = "Edit Avante" },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
@ -17,19 +17,19 @@ return {
|
||||||
}
|
}
|
||||||
vim.o.autoread = true
|
vim.o.autoread = true
|
||||||
|
|
||||||
vim.keymap.set({ "n", "x" }, "<leader>oa", function()
|
vim.keymap.set({ "n", "x" }, "<leader>aa", function()
|
||||||
require("opencode").ask("@this: ", { submit = true })
|
require("opencode").ask("@this: ", { submit = true })
|
||||||
end, { desc = "Ask opencode" })
|
end, { desc = "Ask opencode" })
|
||||||
|
|
||||||
vim.keymap.set({ "n", "x" }, "<leader>oo", function()
|
vim.keymap.set({ "n", "x" }, "<leader>ao", function()
|
||||||
require("opencode").select()
|
require("opencode").select()
|
||||||
end, { desc = "Execute opencode action…" })
|
end, { desc = "Execute opencode action…" })
|
||||||
|
|
||||||
vim.keymap.set({ "n", "x" }, "<leader>os", function()
|
vim.keymap.set({ "n", "x" }, "<leader>as", function()
|
||||||
require("opencode").prompt("@this")
|
require("opencode").prompt("@this")
|
||||||
end, { desc = "Add to opencode" })
|
end, { desc = "Add to opencode" })
|
||||||
|
|
||||||
vim.keymap.set({ "n", "t" }, "<leader>o.", function()
|
vim.keymap.set({ "n", "t" }, "<leader>a.", function()
|
||||||
require("opencode").toggle()
|
require("opencode").toggle()
|
||||||
end, { desc = "Toggle opencode" })
|
end, { desc = "Toggle opencode" })
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
|
@ -135,9 +134,6 @@ in
|
||||||
vim-startuptime
|
vim-startuptime
|
||||||
yazi-nvim
|
yazi-nvim
|
||||||
zk-nvim
|
zk-nvim
|
||||||
avante-nvim
|
|
||||||
blink-cmp-avante
|
|
||||||
img-clip-nvim
|
|
||||||
|
|
||||||
(pkgs.vimUtils.buildVimPlugin {
|
(pkgs.vimUtils.buildVimPlugin {
|
||||||
pname = "opencode.nvim";
|
pname = "opencode.nvim";
|
||||||
|
|
@ -238,7 +234,6 @@ in
|
||||||
{ import = "lazyvim.plugins.extras.lang.elixir" },
|
{ import = "lazyvim.plugins.extras.lang.elixir" },
|
||||||
{ import = "lazyvim.plugins.extras.test.core" },
|
{ import = "lazyvim.plugins.extras.test.core" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
{ import = "lazyvim.plugins.extras.ai.avante" },
|
|
||||||
-- import/override with your plugins
|
-- import/override with your plugins
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue