from-scratch rewrite (#1)

Reviewed-on: #1
This commit is contained in:
2025-06-26 08:53:33 +02:00
parent cc39bf4e49
commit 364c2d97f5
48 changed files with 1422 additions and 734 deletions

21
nvim/lua/plugins/mini.lua Normal file
View File

@ -0,0 +1,21 @@
return {
"echasnovski/mini.nvim",
version = "*",
config = function()
require("mini.pairs").setup({})
require("mini.surround").setup({
mappings = {
add = "gza", -- Add surrounding in Normal and Visual modes
delete = "gzd", -- Delete surrounding
find = "gzf", -- Find surrounding (to the right)
find_left = "gzF", -- Find surrounding (to the left)
highlight = "gzh", -- Highlight surrounding
replace = "gzr", -- Replace surrounding
update_n_lines = "gzn", -- Update `n_lines`
suffix_last = "l", -- Suffix to search with "prev" method
suffix_next = "n", -- Suffix to search with "next" method
},
})
end,
}