summaryrefslogtreecommitdiff
path: root/mut/neovim/lua/my/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mut/neovim/lua/my/init.lua')
-rw-r--r--mut/neovim/lua/my/init.lua94
1 files changed, 47 insertions, 47 deletions
diff --git a/mut/neovim/lua/my/init.lua b/mut/neovim/lua/my/init.lua
index 6b368fe..993519f 100644
--- a/mut/neovim/lua/my/init.lua
+++ b/mut/neovim/lua/my/init.lua
@@ -434,53 +434,53 @@ require("my.packages")
-- file_types = { "markdown", "Avante" },
-- },
-- ft = { "markdown", "Avante" },})
-require('avante_lib').load()
--- require('copilot').setup {}
-require('avante').setup ({
- provider = "openai",
- openai = {
- model = "gpt-4o",
- },
- behaviour = {
- auto_suggestions = false,
- auto_set_highlight_group = true,
- auto_set_keymaps = true,
- auto_apply_diff_after_generation = false,
- support_paste_from_clipboard = false,
- },
- mappings = {
- --- @class AvanteConflictMappings
- diff = {
- ours = "co",
- theirs = "ct",
- all_theirs = "ca",
- both = "cb",
- cursor = "cc",
- next = "]x",
- prev = "[x",
- },
- suggestion = {
- accept = "<M-l>",
- next = "<M-]>",
- prev = "<M-[>",
- dismiss = "<C-]>",
- },
- jump = {
- next = "]]",
- prev = "[[",
- },
- submit = {
- normal = "<CR>",
- insert = "<C-s>",
- },
- sidebar = {
- apply_all = "A",
- apply_cursor = "a",
- switch_windows = "<Tab>",
- reverse_switch_windows = "<S-Tab>",
- },
- },
-})
+-- require('avante_lib').load()
+-- -- require('copilot').setup {}
+-- require('avante').setup ({
+-- provider = "openai",
+-- openai = {
+-- model = "gpt-4o",
+-- },
+-- behaviour = {
+-- auto_suggestions = false,
+-- auto_set_highlight_group = true,
+-- auto_set_keymaps = true,
+-- auto_apply_diff_after_generation = false,
+-- support_paste_from_clipboard = false,
+-- },
+-- mappings = {
+-- --- @class AvanteConflictMappings
+-- diff = {
+-- ours = "co",
+-- theirs = "ct",
+-- all_theirs = "ca",
+-- both = "cb",
+-- cursor = "cc",
+-- next = "]x",
+-- prev = "[x",
+-- },
+-- suggestion = {
+-- accept = "<M-l>",
+-- next = "<M-]>",
+-- prev = "<M-[>",
+-- dismiss = "<C-]>",
+-- },
+-- jump = {
+-- next = "]]",
+-- prev = "[[",
+-- },
+-- submit = {
+-- normal = "<CR>",
+-- insert = "<C-s>",
+-- },
+-- sidebar = {
+-- apply_all = "A",
+-- apply_cursor = "a",
+-- switch_windows = "<Tab>",
+-- reverse_switch_windows = "<S-Tab>",
+-- },
+-- },
+-- })
require("quicker").setup({
keys = {