From 9b2131222a6724ec34af4fefc2cc2a540cdd7773 Mon Sep 17 00:00:00 2001 From: Mike Vink <59492084+ivi-vink@users.noreply.github.com> Date: Tue, 31 Dec 2024 18:34:27 +0100 Subject: update system --- mut/neovim/lua/my/init.lua | 94 +++++++++++++++++++++--------------------- mut/neovim/lua/my/settings.lua | 2 + 2 files changed, 49 insertions(+), 47 deletions(-) (limited to 'mut/neovim/lua') 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 = "", - next = "", - prev = "", - dismiss = "", - }, - jump = { - next = "]]", - prev = "[[", - }, - submit = { - normal = "", - insert = "", - }, - sidebar = { - apply_all = "A", - apply_cursor = "a", - switch_windows = "", - reverse_switch_windows = "", - }, - }, -}) +-- 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 = "", +-- next = "", +-- prev = "", +-- dismiss = "", +-- }, +-- jump = { +-- next = "]]", +-- prev = "[[", +-- }, +-- submit = { +-- normal = "", +-- insert = "", +-- }, +-- sidebar = { +-- apply_all = "A", +-- apply_cursor = "a", +-- switch_windows = "", +-- reverse_switch_windows = "", +-- }, +-- }, +-- }) require("quicker").setup({ keys = { diff --git a/mut/neovim/lua/my/settings.lua b/mut/neovim/lua/my/settings.lua index 560fa18..a3c5144 100644 --- a/mut/neovim/lua/my/settings.lua +++ b/mut/neovim/lua/my/settings.lua @@ -63,3 +63,5 @@ vim.opt.winbar = "" vim.opt.hlsearch = false vim.opt.showtabline = 1 vim.opt.cmdheight = 1 + +vim.opt.shellpipe = "out+err>" -- cgit v1.2.3