nvim/config/lua/config/mini.lua
2023-01-03 22:05:09 -05:00

21 lines
632 B
Lua

require("mini.surround").setup({
-- Number of lines within which surrounding is searched
n_lines = 50,
-- Duration (in ms) of highlight when calling `MiniSurround.highlight()`
highlight_duration = 500,
-- Module mappings. Use `''` (empty string) to disable one.
mappings = {
add = "sa", -- Add surrounding
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.comment").setup({})