kickstart.nvim/lua/custom/plugins/flash.lua

24 lines
432 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,
},
},
}