nvim/lua/plugins/flash.lua
Oliver Hartmann 36a6d599eb added flash
2023-06-23 14:27:20 +02:00

24 lines
455 B
Lua

return {
"folke/flash.nvim",
event = "VeryLazy",
---@type Flash.Config
opts = {},
keys = {
{
"s",
mode = { "n", "x", "o" },
function()
-- default options: exact mode, multi window, all directions, with a backdrop
require("flash").jump()
end,
},
{
"S",
mode = { "n", "o", "x" },
function()
require("flash").treesitter()
end,
},
},
}