this repo has no description
0
fork

Configure Feed

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

avante -> codecompanion

+58 -43
+5 -5
nvim/lua/config/keys.lua
··· 62 62 63 63 { 64 64 "<leader>f", 65 - "<cmd>Telescope find_files find_command=rg,--ignore,--hidden,--files,--iglob=!.git<cr>", 65 + "<cmd>Telescope find_files find_command=rg,--ignore,--hidden,--files,--iglob=!.git sort_mru=true<cr>", 66 66 desc = "Find files", 67 67 }, 68 68 { "<leader>b", "<cmd>Telescope buffers<cr>", desc = "Buffers" }, ··· 145 145 silent = true, 146 146 }, 147 147 148 - -- { "<leader>ai", ":AI", desc = "AI complete" }, 149 - -- { "<leader>ac", ":AIChat ", desc = "AI chat" }, 150 - -- { "<leader>ae", ":AIEdit ", desc = "AI edit", mode = "v" }, 151 - -- { "<leader>ar", "<cmd>AIRedo<cr>", desc = "AI redo last" }, 148 + { "<leader>ac", "<cmd>CodeCompanionActions<cr>", desc = "CodeCompanion actions", mode = { "n", "v" } }, 149 + { "<leader>ai", ":CodeCompanion ", desc = "CodeCompanion prompt", mode = { "n", "v" } }, 150 + { "<leader>at", "<cmd>CodeCompanionChat Toggle<CR>", desc = "CodeCompanion prompt", mode = { "n", "v" } }, 151 + { "<leader>aa", "<cmd>CodeCompanionChat Add<CR>", desc = "Add to CodeCompanion chat", mode = "v" }, 152 152 153 153 { "<leader>PP", "<cmd>Lazy<cr>", desc = "Manage plugins" }, 154 154 })
+53 -38
nvim/lua/plugins/ai.lua
··· 1 1 return { 2 - -- { "github/copilot.vim" }, 3 - -- { "madox2/vim-ai" }, 2 + { "github/copilot.vim" }, 3 + { "madox2/vim-ai" }, 4 + -- { 5 + -- "yetone/avante.nvim", 6 + -- event = "VeryLazy", 7 + -- lazy = false, 8 + -- version = false, -- set this if you want to always pull the latest change 9 + -- opts = { 10 + -- -- add any opts here 11 + -- }, 12 + -- -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` 13 + -- build = "make", 14 + -- -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows 15 + -- dependencies = { 16 + -- "stevearc/dressing.nvim", 17 + -- "nvim-lua/plenary.nvim", 18 + -- "MunifTanjim/nui.nvim", 19 + -- --- The below dependencies are optional, 20 + -- "hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions 21 + -- "nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons 22 + -- "zbirenbaum/copilot.lua", -- for providers='copilot' 23 + -- { 24 + -- -- support for image pasting 25 + -- "HakonHarnes/img-clip.nvim", 26 + -- event = "VeryLazy", 27 + -- opts = { 28 + -- -- recommended settings 29 + -- default = { 30 + -- embed_image_as_base64 = false, 31 + -- prompt_for_file_name = false, 32 + -- drag_and_drop = { 33 + -- insert_mode = true, 34 + -- }, 35 + -- -- required for Windows users 36 + -- use_absolute_path = true, 37 + -- }, 38 + -- }, 39 + -- }, 40 + -- { 41 + -- -- Make sure to set this up properly if you have lazy=true 42 + -- "MeanderingProgrammer/render-markdown.nvim", 43 + -- opts = { 44 + -- file_types = { "markdown", "Avante" }, 45 + -- }, 46 + -- ft = { "markdown", "Avante" }, 47 + -- }, 48 + -- }, 49 + -- }, 4 50 { 5 - "yetone/avante.nvim", 6 - event = "VeryLazy", 7 - lazy = false, 8 - version = false, -- set this if you want to always pull the latest change 9 - opts = { 10 - -- add any opts here 11 - }, 12 - -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` 13 - build = "make", 14 - -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows 51 + "olimorris/codecompanion.nvim", 15 52 dependencies = { 16 - "stevearc/dressing.nvim", 17 53 "nvim-lua/plenary.nvim", 18 - "MunifTanjim/nui.nvim", 19 - --- The below dependencies are optional, 20 - "hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions 21 - "nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons 22 - -- "zbirenbaum/copilot.lua", -- for providers='copilot' 54 + "nvim-treesitter/nvim-treesitter", 23 55 { 24 - -- support for image pasting 25 - "HakonHarnes/img-clip.nvim", 26 - event = "VeryLazy", 27 - opts = { 28 - -- recommended settings 29 - default = { 30 - embed_image_as_base64 = false, 31 - prompt_for_file_name = false, 32 - drag_and_drop = { 33 - insert_mode = true, 34 - }, 35 - -- required for Windows users 36 - use_absolute_path = true, 37 - }, 38 - }, 39 - }, 40 - { 41 - -- Make sure to set this up properly if you have lazy=true 42 56 "MeanderingProgrammer/render-markdown.nvim", 43 57 opts = { 44 - file_types = { "markdown", "Avante" }, 58 + file_types = { "codecompanion" }, 45 59 }, 46 - ft = { "markdown", "Avante" }, 60 + ft = { "codecompanion" }, 47 61 }, 48 62 }, 63 + config = true, 49 64 }, 50 65 }