a bit sloppy but working
This commit is contained in:
20
lua/config/mini.lua
Normal file
20
lua/config/mini.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
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({})
|
Reference in New Issue
Block a user