From 413d6144405ead078ace9bd1aeed6d01c4072d9b Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Sat, 12 Apr 2025 11:12:15 +0200 Subject: [PATCH] new --- lua/config/modicator.lua | 17 +++++++++++++++++ lua/mappings.lua | 16 ---------------- lua/plugins/init.lua | 25 +++++++++++++++---------- 3 files changed, 32 insertions(+), 26 deletions(-) create mode 100644 lua/config/modicator.lua diff --git a/lua/config/modicator.lua b/lua/config/modicator.lua new file mode 100644 index 0000000..fd7f598 --- /dev/null +++ b/lua/config/modicator.lua @@ -0,0 +1,17 @@ +require("modicator").setup({ + show_warnings = true, + highlights = { + defaults = { + bold = false, + italic = false, + }, + use_cursorline_background = false, + }, + integration = { + lualine = { + enabled = true, + mode_section = nil, + highlight = 'bg', + } + } +}) diff --git a/lua/mappings.lua b/lua/mappings.lua index 91c56a2..d4e55cf 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -58,19 +58,3 @@ map("n", "mr", "CellularAutomaton make_it_rain"); map("n", "", function() vim.cmd("so") end) - --- Tmux binds -map("n", "", "lua require('tmux').move_left()") -map("n", "", "lua require('tmux').move_bottom()") -map("n", "", "lua require('tmux').move_top()") -map("n", "", "lua require('tmux').move_right()") - -map("n", "", "lua require('tmux').resize_left()") -map("n", "", "lua require('tmux').resize_bottom()") -map("n", "", "lua require('tmux').resize_top()") -map("n", "", "lua require('tmux').resize_right()") - -map("n", "", "lua require('tmux').swap_left()") -map("n", "", "lua require('tmux').swap_bottom()") -map("n", "", "lua require('tmux').swap_top()") -map("n", "", "lua require('tmux').swap_right()") diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 5dcd5b7..cfa5cf0 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -31,7 +31,6 @@ return { "lambdalisue/vim-suda", init = function() vim.g.suda_smart_edit = 1 - -- vim.g["suda#noninteractive"] = 1 end, }, { @@ -58,6 +57,18 @@ return { require("config.lualine") end, }, + { + "mawkler/modicator.nvim", + init = function() + -- These are required for Modicator to work + vim.o.cursorline = true + vim.o.number = true + vim.o.termguicolors = true + end, + config = function() + require("config.modicator") + end + }, { "shinchu/lightline-gruvbox.vim", }, @@ -98,10 +109,10 @@ return { { "CopilotC-Nvim/CopilotChat.nvim", dependencies = { - { "zbirenbaum/copilot.lua" }, -- or zbirenbaum/copilot.lua - { "nvim-lua/plenary.nvim", branch = "master" }, -- for curl, log and async functions + { "zbirenbaum/copilot.lua" }, + { "nvim-lua/plenary.nvim", branch = "master" }, }, - build = "make tiktoken", -- Only on MacOS or Linux + build = "make tiktoken", config = function() require "config.copilotchat" end, @@ -203,12 +214,6 @@ return { require("config.harpoon") end, }, - { - "aserowy/tmux.nvim", - config = function() - require("config.tmux") - end, - }, { "catgoose/nvim-colorizer.lua", config = function()