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