aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/flash.lua
blob: ff8f5151075c214bf0e2b47e59d77c92f0caf75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
return {
  "folke/flash.nvim",
  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" },
  },
}