return { "echasnovski/mini.nvim", version = "*", -- or a specific tag config = function() -- Only load the modules you want require("mini.animate").setup({ cursor = { enable = false, }, }) require("mini.pairs").setup() require("mini.files").setup() require("mini.cursorword").setup({ content = { active = true, }, }) require("mini.notify").setup() require("mini.move").setup({ mappings = { down = "J", up = "K", }, }) require("mini.surround").setup({ mappings = { add = "sa", delete = "sd", -- Delete surrounding find = "sf", -- Find surrounding (to the right) find_left = "sF", -- Find surrounding (to the left) highlight = "sh", -- Highlight surrounding replace = "sr", -- Replace surrounding update_n_lines = "sn", -- Update `n_lines` }, }) require("mini.ai").setup({ mappings = { -- Main textobject prefixes around = "a", inside = "i", -- Next/last variants -- NOTE: These override built-in LSP selection mappings on Neovim>=0.12 -- Map LSP selection manually to use it (see `:h MiniAi.config`) around_next = "an", inside_next = "in", around_last = "al", inside_last = "il", -- Move cursor to corresponding edge of `a` textobject goto_left = "g[", goto_right = "g]", }, }) require("mini.pick").setup({}) end, }