this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nvim: drop avante, not really using it

-110
-110
nvim/lua/plugins/ai.lua
··· 5 5 vim.g.copilot_filetypes = { markdown = false } 6 6 end, 7 7 }, 8 - { 9 - "yetone/avante.nvim", 10 - event = "VeryLazy", 11 - lazy = false, 12 - version = false, 13 - opts = { 14 - provider = "claude", 15 - disabled_tools = { "python" }, 16 - behaviour = { 17 - enable_claude_text_editor_tool_mode = true, 18 - -- enable_cursor_planning_mode = true, 19 - -- auto_suggestions = true, 20 - }, 21 - -- rag_service = { 22 - -- enabled = true, 23 - -- host_mount = vim.fn.getcwd(), 24 - -- }, 25 - -- auto_suggestions_provider = "claude", 26 - windows = { 27 - ask = { 28 - floating = true, 29 - }, 30 - }, 31 - mappings = { 32 - ---@class AvanteConflictMappings 33 - diff = { 34 - ours = "co", 35 - theirs = "ct", 36 - all_theirs = "ca", 37 - both = "cb", 38 - cursor = "cc", 39 - next = "]x", 40 - prev = "[x", 41 - }, 42 - suggestion = { 43 - accept = "<M-l>", 44 - next = "<M-]>", 45 - prev = "<M-[>", 46 - dismiss = "<C-]>", 47 - }, 48 - jump = { 49 - next = "]]", 50 - prev = "[[", 51 - }, 52 - submit = { 53 - normal = "<CR>", 54 - insert = "<C-s>", 55 - }, 56 - -- NOTE: The following will be safely set by avante.nvim 57 - ask = "<leader>aa", 58 - edit = "<leader>ae", 59 - refresh = "<leader>ar", 60 - focus = "<leader>af", 61 - toggle = { 62 - default = "<leader>at", 63 - debug = "<leader>ad", 64 - hint = "<leader>ah", 65 - suggestion = "<leader>as", 66 - repomap = "<leader>aR", 67 - }, 68 - sidebar = { 69 - apply_all = "A", 70 - apply_cursor = "a", 71 - switch_windows = "<Tab>", 72 - reverse_switch_windows = "<S-Tab>", 73 - remove_file = "d", 74 - add_file = "@", 75 - close = { "<Esc>", "q" }, 76 - }, 77 - files = { 78 - add_current = "<leader>ac", -- Add current buffer to selected files 79 - }, 80 - }, 81 - }, 82 - -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` 83 - build = "make", 84 - -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows 85 - dependencies = { 86 - "stevearc/dressing.nvim", 87 - "nvim-lua/plenary.nvim", 88 - "MunifTanjim/nui.nvim", 89 - --- The below dependencies are optional, 90 - "hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions 91 - "nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons 92 - "zbirenbaum/copilot.lua", -- for providers='copilot' 93 - { 94 - -- support for image pasting 95 - "HakonHarnes/img-clip.nvim", 96 - event = "VeryLazy", 97 - opts = { 98 - -- recommended settings 99 - default = { 100 - embed_image_as_base64 = false, 101 - prompt_for_file_name = false, 102 - drag_and_drop = { 103 - insert_mode = true, 104 - }, 105 - }, 106 - }, 107 - }, 108 - { 109 - -- Make sure to set this up properly if you have lazy=true 110 - "MeanderingProgrammer/render-markdown.nvim", 111 - opts = { 112 - file_types = { "Avante" }, 113 - }, 114 - ft = { "Avante" }, 115 - }, 116 - }, 117 - }, 118 8 }