aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/flash.lua
blob: bcc857cdf5aa78d2a148f9b8c868c5cea6542024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
    "folke/flash.nvim",
    version = "*",
    event = "VeryLazy",
    ---@type Flash.Config
    opts = {
        modes = {
            search = {
                enabled = true,
            },
        },
    },
    keys = {
        { ";",     mode = { "n", "x", "o" }, function() require("flash").jump() end,   desc = "Flash" },
        { "<c-s>", mode = { "c" },           function() require("flash").toggle() end, desc = "Toggle Flash Search" },
    },
}