aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/mini/surround.lua
blob: 7a05e445de6ae4919829503e6247d81b83e24bba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
return {
    "echasnovski/mini.surround",
    version = false,
    opts = {
        mappings = {
            add = "\\a", -- Add surrounding in Normal and Visual modes
            delete = "\\d", -- Delete surrounding
            find = "\\f", -- Find surrounding (to the right)
            find_left = "\\F", -- Find surrounding (to the left)
            highlight = "\\h", -- Highlight surrounding
            replace = "\\r", -- Replace surrounding
            update_n_lines = "\\n", -- Update `n_lines`
        },
    },
}