mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-27 11:17:03 +02:00
fix: nvim - update depends, remove img-clip.nvim due to performance issues
This commit is contained in:
@@ -85,50 +85,6 @@ return {
|
||||
"ibhagwan/fzf-lua", -- for file_selector provider fzf
|
||||
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
||||
-- "zbirenbaum/copilot.lua", -- for providers='copilot'
|
||||
{
|
||||
-- support for image pasting
|
||||
"HakonHarnes/img-clip.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- recommended settings
|
||||
default = {
|
||||
embed_image_as_base64 = false,
|
||||
prompt_for_file_name = false,
|
||||
drag_and_drop = {
|
||||
insert_mode = true,
|
||||
},
|
||||
-- required for Windows users
|
||||
use_absolute_path = true,
|
||||
},
|
||||
mappings = {
|
||||
ask = prefix .. "<CR>",
|
||||
edit = prefix .. "e",
|
||||
refresh = prefix .. "r",
|
||||
focus = prefix .. "f",
|
||||
select_model = prefix .. "?",
|
||||
stop = prefix .. "S",
|
||||
select_history = prefix .. "h",
|
||||
toggle = {
|
||||
default = prefix .. "t",
|
||||
debug = prefix .. "d",
|
||||
hint = prefix .. "h",
|
||||
suggestion = prefix .. "s",
|
||||
repomap = prefix .. "R",
|
||||
},
|
||||
diff = {
|
||||
next = "]c",
|
||||
prev = "[c",
|
||||
},
|
||||
files = {
|
||||
add_current = prefix .. ".",
|
||||
add_all_buffers = prefix .. "B",
|
||||
},
|
||||
},
|
||||
},
|
||||
specs = { -- configure optional plugins
|
||||
{ "AstroNvim/astroui", opts = { icons = { Avante = "" } } },
|
||||
},
|
||||
},
|
||||
{
|
||||
-- Make sure to set this up properly if you have lazy=true
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
|
||||
Reference in New Issue
Block a user